#F87CEB#F87CEB

#F87CEB is a light, vivid purple. Relative luminance 0.404; OKLCH L 76.4% C 0.199 H 331.4°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#F87CEB
RGBrgb(248, 124, 235)
HSLhsl(306, 90%, 73%)
HSVhsv(306, 50%, 97%)
CMYKcmyk(0%, 50%, 5.2%, 2.7%)
CIE-LABlab(69.73, 61.54, -35.00)
CIE-LCHlch(69.73, 70.80, 330.37°)
OKLaboklab(76.44% 0.175 -0.0954)
OKLCHoklch(76.44% 0.199 331.4)
XYZxyz(60.9141, 40.3737, 83.1656)
Luminance0.4037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CEB #7CF889
analogous
#C77CF8 #F87CEB #F87CAD
triadic
#F87CEB #EBF87C #7CEBF8
tetradic
#F87CEB #F8C77C #7CF889 #7CADF8
square
#F87CEB #F8C77C #7CF889 #7CADF8
split-complementary
#F87CEB #ADF87C #7CF8C7
monochromatic
#ED0DD5 #F542E2 #F87CEB #FBB6F4 #FDE2FB

Accessibility & contrast

On white

2.31
#F87CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#F87CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87CEB
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87CEB#FFFFFF#000000##000000
##F87CEB1.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEF
Deuteranopia (green-blind)
#9BB1E7
Tritanopia (blue-blind)
#FF86A9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f87ceb;
/* rgb */ color: rgb(248, 124, 235);
/* oklch */ color: oklch(76.4% 0.199 331.4);
Tailwind
colors: {
  custom: {
    50: '#fda6f1',
    500: '#f87ceb',
    950: '#000000',
  },
}
SCSS
$custom: #f87ceb;
$custom-light: #fda6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ceb",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 306.29,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76443,
    "c": 0.19936,
    "h": 331.4
  },
  "luminance": 0.4037
}

Semantic roles & 50–950 ramp

primary
#F87CEB
secondary
#D5F6D9
accent
#E61800
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F87CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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