#F898EC#F898EC

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

Color values

HEX#F898EC
RGBrgb(248, 152, 236)
HSLhsl(308, 87%, 78%)
HSVhsv(308, 39%, 97%)
CMYKcmyk(0%, 38.7%, 4.8%, 2.7%)
CIE-LABlab(75.12, 47.93, -27.24)
CIE-LCHlch(75.12, 55.13, 330.39°)
OKLaboklab(80.48% 0.1359 -0.0737)
OKLCHoklch(80.48% 0.155 331.5)
XYZxyz(65.0793, 48.4723, 85.2688)
Luminance0.4847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F898EC #98F8A4
analogous
#D498F8 #F898EC #F898BC
triadic
#F898EC #ECF898 #98ECF8
tetradic
#F898EC #F8D498 #98F8A4 #98BCF8
square
#F898EC #F8D498 #98F8A4 #98BCF8
split-complementary
#F898EC #BCF898 #98F8D4
monochromatic
#F025D7 #F45FE1 #F898EC #FCD1F7 #FDE2FA

Accessibility & contrast

On white

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

On black

10.69
#F898EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F898EC
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F898EC#FFFFFF#000000##000000
##F898EC1.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f898ec;
/* rgb */ color: rgb(248, 152, 236);
/* oklch */ color: oklch(80.5% 0.155 331.5);
Tailwind
colors: {
  custom: {
    50: '#fcb8f2',
    500: '#f898ec',
    950: '#000000',
  },
}
SCSS
$custom: #f898ec;
$custom-light: #fcb8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f898ec",
  "rgb": {
    "r": 248,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 307.5,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.80478,
    "c": 0.15459,
    "h": 331.5
  },
  "luminance": 0.48469
}

Semantic roles & 50–950 ramp

primary
#F898EC
secondary
#D6F5DA
accent
#E41E02
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #F898EC

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

Preview Lab → · Contrast checker → · Palette generator →

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