#F898ED#F898ED

#F898ED is a light, vivid purple. Relative luminance 0.485; OKLCH L 80.5% C 0.155 H 331.1°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#F898ED
RGBrgb(248, 152, 237)
HSLhsl(307, 87%, 78%)
HSVhsv(307, 39%, 97%)
CMYKcmyk(0%, 38.7%, 4.4%, 2.7%)
CIE-LABlab(75.16, 48.10, -27.73)
CIE-LCHlch(75.16, 55.52, 330.04°)
OKLaboklab(80.52% 0.1361 -0.0751)
OKLCHoklch(80.52% 0.155 331.1)
XYZxyz(65.2249, 48.5306, 86.0361)
Luminance0.4853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F898ED #98F8A3
analogous
#D398F8 #F898ED #F898BD
triadic
#F898ED #EDF898 #98EDF8
tetradic
#F898ED #F8D398 #98F8A3 #98BDF8
square
#F898ED #F8D398 #98F8A3 #98BDF8
split-complementary
#F898ED #BDF898 #98F8D3
monochromatic
#F025D9 #F45FE3 #F898ED #FCD1F7 #FDE2FA

Accessibility & contrast

On white

1.96
#F898ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#F898ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F898ED
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F898ED#FFFFFF#000000##000000
##F898ED1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B1F0
Deuteranopia (green-blind)
#AEBEEA
Tritanopia (blue-blind)
#FF9EB8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #f898ed;
/* rgb */ color: rgb(248, 152, 237);
/* oklch */ color: oklch(80.5% 0.155 331.1);
Tailwind
colors: {
  custom: {
    50: '#fcb8f3',
    500: '#f898ed',
    950: '#000000',
  },
}
SCSS
$custom: #f898ed;
$custom-light: #fcb8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f898ed",
  "rgb": {
    "r": 248,
    "g": 152,
    "b": 237
  },
  "hsl": {
    "h": 306.875,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.80517,
    "c": 0.15546,
    "h": 331.1
  },
  "luminance": 0.48527
}

Semantic roles & 50–950 ramp

primary
#F898ED
secondary
#D6F5D9
accent
#E41C02
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #F898ED

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#F898ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva