#F897EF#F897EF

#F897EF is a light, vivid purple. Relative luminance 0.483; OKLCH L 80.4% C 0.159 H 330.3°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#F897EF
RGBrgb(248, 151, 239)
HSLhsl(306, 87%, 78%)
HSVhsv(306, 39%, 97%)
CMYKcmyk(0%, 39.1%, 3.6%, 2.7%)
CIE-LABlab(75.03, 48.95, -29.02)
CIE-LCHlch(75.03, 56.91, 329.34°)
OKLaboklab(80.44% 0.1381 -0.0787)
OKLCHoklch(80.44% 0.159 330.3)
XYZxyz(65.3572, 48.3249, 87.5297)
Luminance0.4832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F897EF #97F8A0
analogous
#D097F8 #F897EF #F897BE
triadic
#F897EF #EFF897 #97EFF8
tetradic
#F897EF #F8D097 #97F8A0 #97BEF8
square
#F897EF #F8D097 #97F8A0 #97BEF8
split-complementary
#F897EF #BEF897 #97F8D0
monochromatic
#F024DD #F45EE6 #F897EF #FCD0F8 #FDE2FB

Accessibility & contrast

On white

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

On black

10.66
#F897EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F897EF
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F897EF#FFFFFF#000000##000000
##F897EF1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B0F2
Deuteranopia (green-blind)
#ACBEEC
Tritanopia (blue-blind)
#FF9EB8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #f897ef;
/* rgb */ color: rgb(248, 151, 239);
/* oklch */ color: oklch(80.4% 0.159 330.3);
Tailwind
colors: {
  custom: {
    50: '#fcb7f4',
    500: '#f897ef',
    950: '#000000',
  },
}
SCSS
$custom: #f897ef;
$custom-light: #fcb7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f897ef",
  "rgb": {
    "r": 248,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 305.567,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.80445,
    "c": 0.1589,
    "h": 330.3
  },
  "luminance": 0.48322
}

Semantic roles & 50–950 ramp

primary
#F897EF
secondary
#D6F5D9
accent
#E41702
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #F897EF

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

Preview Lab → · Contrast checker → · Palette generator →

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