#EF8FF2#EF8FF2

#EF8FF2 is a light, vivid purple. Relative luminance 0.444; OKLCH L 78.4% C 0.169 H 326.0°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#EF8FF2
RGBrgb(239, 143, 242)
HSLhsl(298, 79%, 75%)
HSVhsv(298, 41%, 95%)
CMYKcmyk(1.2%, 40.9%, 0%, 5.1%)
CIE-LABlab(72.50, 50.86, -34.64)
CIE-LCHlch(72.50, 61.54, 325.75°)
OKLaboklab(78.36% 0.1402 -0.0947)
OKLCHoklch(78.36% 0.169 326)
XYZxyz(61.4447, 44.4092, 89.3225)
Luminance0.4441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8FF2 #92F28F
analogous
#BD8FF2 #EF8FF2 #F28FC3
triadic
#EF8FF2 #F2EF8F #8FF2EF
tetradic
#EF8FF2 #F2BD8F #92F28F #8FC3F2
square
#EF8FF2 #F2BD8F #92F28F #8FC3F2
split-complementary
#EF8FF2 #C3F28F #8FF2BD
monochromatic
#DF21E5 #E758EC #EF8FF2 #F7C6F8 #FBE4FC

Accessibility & contrast

On white

2.13
#EF8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#EF8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8FF2
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8FF2#FFFFFF#000000##000000
##EF8FF21.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AAF6
Deuteranopia (green-blind)
#A0B6EF
Tritanopia (blue-blind)
#F499B5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ef8ff2;
/* rgb */ color: rgb(239, 143, 242);
/* oklch */ color: oklch(78.4% 0.169 326.0);
Tailwind
colors: {
  custom: {
    50: '#f6b2f6',
    500: '#ef8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ef8ff2;
$custom-light: #f6b2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8ff2",
  "rgb": {
    "r": 239,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 298.182,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78361,
    "c": 0.16915,
    "h": 326
  },
  "luminance": 0.44406
}

Semantic roles & 50–950 ramp

primary
#EF8FF2
secondary
#D8F4D7
accent
#DB0A10
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EF8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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