#F87DEC#F87DEC

#F87DEC is a light, vivid purple. Relative luminance 0.407; OKLCH L 76.6% C 0.199 H 331.1°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#F87DEC
RGBrgb(248, 125, 236)
HSLhsl(306, 90%, 73%)
HSVhsv(306, 50%, 97%)
CMYKcmyk(0%, 49.6%, 4.8%, 2.7%)
CIE-LABlab(69.95, 61.23, -35.21)
CIE-LCHlch(69.95, 70.64, 330.10°)
OKLaboklab(76.62% 0.1739 -0.096)
OKLCHoklch(76.62% 0.199 331.1)
XYZxyz(61.1849, 40.6836, 83.9706)
Luminance0.4068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87DEC #7DF889
analogous
#C77DF8 #F87DEC #F87DAE
triadic
#F87DEC #ECF87D #7DECF8
tetradic
#F87DEC #F8C77D #7DF889 #7DAEF8
square
#F87DEC #F8C77D #7DF889 #7DAEF8
split-complementary
#F87DEC #AEF87D #7DF8C7
monochromatic
#EE0DD8 #F543E4 #F87DEC #FBB7F4 #FDE2FB

Accessibility & contrast

On white

2.30
#F87DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#F87DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87DEC
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87DEC#FFFFFF#000000##000000
##F87DEC1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0F0
Deuteranopia (green-blind)
#9BB1E8
Tritanopia (blue-blind)
#FF87AA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f87dec;
/* rgb */ color: rgb(248, 125, 236);
/* oklch */ color: oklch(76.6% 0.199 331.1);
Tailwind
colors: {
  custom: {
    50: '#fda7f2',
    500: '#f87dec',
    950: '#000000',
  },
}
SCSS
$custom: #f87dec;
$custom-light: #fda7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f87dec",
  "rgb": {
    "r": 248,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 305.854,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76618,
    "c": 0.19862,
    "h": 331.1
  },
  "luminance": 0.4068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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