#EF8FEF#EF8FEF

#EF8FEF is a light, vivid purple. Relative luminance 0.442; OKLCH L 78.2% C 0.166 H 327.0°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#EF8FEF
RGBrgb(239, 143, 239)
HSLhsl(300, 75%, 75%)
HSVhsv(300, 40%, 94%)
CMYKcmyk(0%, 40.2%, 0%, 6.3%)
CIE-LABlab(72.38, 50.32, -33.18)
CIE-LCHlch(72.38, 60.28, 326.60°)
OKLaboklab(78.23% 0.1395 -0.0905)
OKLCHoklch(78.23% 0.166 327)
XYZxyz(60.9979, 44.2305, 86.9689)
Luminance0.4423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8FEF #8FEF8F
analogous
#BF8FEF #EF8FEF #EF8FBF
triadic
#EF8FEF #EFEF8F #8FEFEF
tetradic
#EF8FEF #EFBF8F #8FEF8F #8FBFEF
square
#EF8FEF #EFBF8F #8FEF8F #8FBFEF
split-complementary
#EF8FEF #BFEF8F #8FEFBF
monochromatic
#E024E0 #E759E7 #EF8FEF #F7C5F7 #FBE4FB

Accessibility & contrast

On white

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

On black

9.85
#EF8FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8FEF
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8FEF#FFFFFF#000000##000000
##EF8FEF1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AAF2
Deuteranopia (green-blind)
#A1B6EC
Tritanopia (blue-blind)
#F498B4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ef8fef;
/* rgb */ color: rgb(239, 143, 239);
/* oklch */ color: oklch(78.2% 0.166 327.0);
Tailwind
colors: {
  custom: {
    50: '#f6b2f4',
    500: '#ef8fef',
    950: '#000000',
  },
}
SCSS
$custom: #ef8fef;
$custom-light: #f6b2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8fef",
  "rgb": {
    "r": 239,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 300,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.78233,
    "c": 0.16635,
    "h": 327
  },
  "luminance": 0.44228
}

Semantic roles & 50–950 ramp

primary
#EF8FEF
secondary
#D8F3D8
accent
#D70E0E
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EF8FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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