#F898EA#F898EA

#F898EA is a light, vivid purple. Relative luminance 0.484; OKLCH L 80.4% C 0.153 H 332.3°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#F898EA
RGBrgb(248, 152, 234)
HSLhsl(309, 87%, 78%)
HSVhsv(309, 39%, 97%)
CMYKcmyk(0%, 38.7%, 5.6%, 2.7%)
CIE-LABlab(75.05, 47.59, -26.26)
CIE-LCHlch(75.05, 54.35, 331.11°)
OKLaboklab(80.4% 0.1354 -0.071)
OKLCHoklch(80.4% 0.153 332.3)
XYZxyz(64.7903, 48.3567, 83.7470)
Luminance0.4835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F898EA #98F8A6
analogous
#D698F8 #F898EA #F898BA
triadic
#F898EA #EAF898 #98EAF8
tetradic
#F898EA #F8D698 #98F8A6 #98BAF8
square
#F898EA #F8D698 #98F8A6 #98BAF8
split-complementary
#F898EA #BAF898 #98F8D6
monochromatic
#F025D3 #F45FDE #F898EA #FCD1F6 #FDE2F9

Accessibility & contrast

On white

1.97
#F898EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#F898EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F898EA
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F898EA#FFFFFF#000000##000000
##F898EA1.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B0ED
Deuteranopia (green-blind)
#AFBEE7
Tritanopia (blue-blind)
#FF9EB7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #f898ea;
/* rgb */ color: rgb(248, 152, 234);
/* oklch */ color: oklch(80.4% 0.153 332.3);
Tailwind
colors: {
  custom: {
    50: '#fcb8f1',
    500: '#f898ea',
    950: '#000000',
  },
}
SCSS
$custom: #f898ea;
$custom-light: #fcb8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f898ea",
  "rgb": {
    "r": 248,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 308.75,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.80399,
    "c": 0.15286,
    "h": 332.3
  },
  "luminance": 0.48353
}

Semantic roles & 50–950 ramp

primary
#F898EA
secondary
#D6F5DA
accent
#E42302
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F898EA

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

Preview Lab → · Contrast checker → · Palette generator →

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