#EF87F5#EF87F5

#EF87F5 is a light, vivid purple. Relative luminance 0.423; OKLCH L 77.3% C 0.185 H 325.2°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#EF87F5
RGBrgb(239, 135, 245)
HSLhsl(297, 85%, 75%)
HSVhsv(297, 45%, 96%)
CMYKcmyk(2.4%, 44.9%, 0%, 3.9%)
CIE-LABlab(71.06, 55.42, -38.51)
CIE-LCHlch(71.06, 67.49, 325.20°)
OKLaboklab(77.33% 0.1519 -0.1057)
OKLCHoklch(77.33% 0.185 325.2)
XYZxyz(60.7406, 42.2741, 91.3288)
Luminance0.4227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87F5 #8DF587
analogous
#B887F5 #EF87F5 #F587C4
triadic
#EF87F5 #F5EF87 #87F5EF
tetradic
#EF87F5 #F5B887 #8DF587 #87C4F5
square
#EF87F5 #F5B887 #8DF587 #87C4F5
split-complementary
#EF87F5 #C4F587 #87F5B8
monochromatic
#E016EC #E74FF0 #EF87F5 #F7BFFA #FBE3FD

Accessibility & contrast

On white

2.22
#EF87F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#EF87F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87F5
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87F5#FFFFFF#000000##000000
##EF87F51.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA6F9
Deuteranopia (green-blind)
#99B2F2
Tritanopia (blue-blind)
#F493B3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ef87f5;
/* rgb */ color: rgb(239, 135, 245);
/* oklch */ color: oklch(77.3% 0.185 325.2);
Tailwind
colors: {
  custom: {
    50: '#f6adf9',
    500: '#ef87f5',
    950: '#000000',
  },
}
SCSS
$custom: #ef87f5;
$custom-light: #f6adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87f5",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 296.727,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77326,
    "c": 0.18506,
    "h": 325.2
  },
  "luminance": 0.42271
}

Semantic roles & 50–950 ramp

primary
#EF87F5
secondary
#D8F5D6
accent
#E10410
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EF87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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