#F87CE5#F87CE5

#F87CE5 is a light, vivid purple. Relative luminance 0.400; OKLCH L 76.2% C 0.195 H 333.4°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#F87CE5
RGBrgb(248, 124, 229)
HSLhsl(309, 90%, 73%)
HSVhsv(309, 50%, 97%)
CMYKcmyk(0%, 50%, 7.7%, 2.7%)
CIE-LABlab(69.49, 60.56, -32.07)
CIE-LCHlch(69.49, 68.53, 332.10°)
OKLaboklab(76.18% 0.1739 -0.0871)
OKLCHoklch(76.18% 0.195 333.4)
XYZxyz(60.0618, 40.0328, 78.6772)
Luminance0.4003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CE5 #7CF88F
analogous
#CD7CF8 #F87CE5 #F87CA7
triadic
#F87CE5 #E5F87C #7CE5F8
tetradic
#F87CE5 #F8CD7C #7CF88F #7CA7F8
square
#F87CE5 #F8CD7C #7CF88F #7CA7F8
split-complementary
#F87CE5 #A7F87C #7CF8CD
monochromatic
#ED0DCB #F542D9 #F87CE5 #FBB6F1 #FDE2F9

Accessibility & contrast

On white

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

On black

9.01
#F87CE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87CE5
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87CE5#FFFFFF#000000##000000
##F87CE51.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f87ce5;
/* rgb */ color: rgb(248, 124, 229);
/* oklch */ color: oklch(76.2% 0.195 333.4);
Tailwind
colors: {
  custom: {
    50: '#fda6ed',
    500: '#f87ce5',
    950: '#000000',
  },
}
SCSS
$custom: #f87ce5;
$custom-light: #fda6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ce5",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 229
  },
  "hsl": {
    "h": 309.194,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76184,
    "c": 0.19452,
    "h": 333.4
  },
  "luminance": 0.40029
}

Semantic roles & 50–950 ramp

primary
#F87CE5
secondary
#D5F6DA
accent
#E62300
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F87CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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