#EF8EFE#EF8EFE

#EF8EFE is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.7% C 0.182 H 322.1°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#EF8EFE
RGBrgb(239, 142, 254)
HSLhsl(292, 98%, 78%)
HSVhsv(292, 44%, 100%)
CMYKcmyk(5.9%, 44.1%, 0%, 0.4%)
CIE-LABlab(72.80, 53.57, -40.71)
CIE-LCHlch(72.80, 67.28, 322.77°)
OKLaboklab(78.74% 0.1438 -0.112)
OKLCHoklch(78.74% 0.182 322.1)
XYZxyz(63.1570, 44.8550, 99.0778)
Luminance0.4485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8EFE #9DFE8E
analogous
#B78EFE #EF8EFE #FE8ED5
triadic
#EF8EFE #FEEF8E #8EFEEF
tetradic
#EF8EFE #FEB78E #9DFE8E #8ED5FE
square
#EF8EFE #FEB78E #9DFE8E #8ED5FE
split-complementary
#EF8EFE #D5FE8E #8EFEB7
monochromatic
#DE15FD #E651FD #EF8EFE #F8CBFF #FBE1FF

Accessibility & contrast

On white

2.11
#EF8EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#EF8EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8EFE
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8EFE#FFFFFF#000000##000000
##EF8EFE1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FABFF
Deuteranopia (green-blind)
#9AB7FB
Tritanopia (blue-blind)
#F29CBA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ef8efe;
/* rgb */ color: rgb(239, 142, 254);
/* oklch */ color: oklch(78.7% 0.182 322.1);
Tailwind
colors: {
  custom: {
    50: '#f6b1ff',
    500: '#ef8efe',
    950: '#000000',
  },
}
SCSS
$custom: #ef8efe;
$custom-light: #f6b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8efe",
  "rgb": {
    "r": 239,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 291.964,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.78744,
    "c": 0.18229,
    "h": 322.1
  },
  "luminance": 0.44852
}

Semantic roles & 50–950 ramp

primary
#EF8EFE
secondary
#D9F7D4
accent
#E6001F
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EF8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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