#F87CE4#F87CE4

#F87CE4 is a light, vivid purple. Relative luminance 0.400; OKLCH L 76.1% C 0.194 H 333.7°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#F87CE4
RGBrgb(248, 124, 228)
HSLhsl(310, 90%, 73%)
HSVhsv(310, 50%, 97%)
CMYKcmyk(0%, 50%, 8.1%, 2.7%)
CIE-LABlab(69.45, 60.40, -31.58)
CIE-LCHlch(69.45, 68.16, 332.40°)
OKLaboklab(76.14% 0.1737 -0.0857)
OKLCHoklch(76.14% 0.194 333.7)
XYZxyz(59.9226, 39.9771, 77.9439)
Luminance0.3997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CE4 #7CF890
analogous
#CE7CF8 #F87CE4 #F87CA6
triadic
#F87CE4 #E4F87C #7CE4F8
tetradic
#F87CE4 #F8CE7C #7CF890 #7CA6F8
square
#F87CE4 #F8CE7C #7CF890 #7CA6F8
split-complementary
#F87CE4 #A6F87C #7CF8CE
monochromatic
#ED0DC9 #F542D8 #F87CE4 #FBB6F0 #FDE2F9

Accessibility & contrast

On white

2.33
#F87CE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#F87CE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87CE4
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87CE4#FFFFFF#000000##000000
##F87CE41.002.338.998.99
#FFFFFF2.331.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9EE7
Deuteranopia (green-blind)
#9EB0E1
Tritanopia (blue-blind)
#FF83A6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f87ce4;
/* rgb */ color: rgb(248, 124, 228);
/* oklch */ color: oklch(76.1% 0.194 333.7);
Tailwind
colors: {
  custom: {
    50: '#fda6ec',
    500: '#f87ce4',
    950: '#000000',
  },
}
SCSS
$custom: #f87ce4;
$custom-light: #fda6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ce4",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 228
  },
  "hsl": {
    "h": 309.677,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76142,
    "c": 0.19373,
    "h": 333.7
  },
  "luminance": 0.39973
}

Semantic roles & 50–950 ramp

primary
#F87CE4
secondary
#D5F6DB
accent
#E62500
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F87CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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