#F898EB#F898EB

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

Color values

HEX#F898EB
RGBrgb(248, 152, 235)
HSLhsl(308, 87%, 78%)
HSVhsv(308, 39%, 97%)
CMYKcmyk(0%, 38.7%, 5.2%, 2.7%)
CIE-LABlab(75.09, 47.76, -26.75)
CIE-LCHlch(75.09, 54.74, 330.74°)
OKLaboklab(80.44% 0.1356 -0.0723)
OKLCHoklch(80.44% 0.154 331.9)
XYZxyz(64.9344, 48.4144, 84.5057)
Luminance0.4841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F898EB #98F8A5
analogous
#D598F8 #F898EB #F898BB
triadic
#F898EB #EBF898 #98EBF8
tetradic
#F898EB #F8D598 #98F8A5 #98BBF8
square
#F898EB #F8D598 #98F8A5 #98BBF8
split-complementary
#F898EB #BBF898 #98F8D5
monochromatic
#F025D5 #F45FE0 #F898EB #FCD1F6 #FDE2F9

Accessibility & contrast

On white

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

On black

10.68
#F898EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F898EB
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F898EB#FFFFFF#000000##000000
##F898EB1.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f898eb;
/* rgb */ color: rgb(248, 152, 235);
/* oklch */ color: oklch(80.4% 0.154 331.9);
Tailwind
colors: {
  custom: {
    50: '#fcb8f1',
    500: '#f898eb',
    950: '#000000',
  },
}
SCSS
$custom: #f898eb;
$custom-light: #fcb8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f898eb",
  "rgb": {
    "r": 248,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 308.125,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.80439,
    "c": 0.15372,
    "h": 331.9
  },
  "luminance": 0.48411
}

Semantic roles & 50–950 ramp

primary
#F898EB
secondary
#D6F5DA
accent
#E42002
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F898EB

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

Preview Lab → · Contrast checker → · Palette generator →

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