#EF8AFD#EF8AFD

#EF8AFD is a light, vivid purple. Relative luminance 0.436; OKLCH L 78.1% C 0.188 H 322.6°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#EF8AFD
RGBrgb(239, 138, 253)
HSLhsl(293, 97%, 77%)
HSVhsv(293, 45%, 99%)
CMYKcmyk(5.5%, 45.5%, 0%, 0.8%)
CIE-LABlab(71.98, 55.39, -41.45)
CIE-LCHlch(71.98, 69.18, 323.19°)
OKLaboklab(78.12% 0.1491 -0.1141)
OKLCHoklch(78.12% 0.188 322.6)
XYZxyz(62.4128, 43.6222, 98.0418)
Luminance0.4362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8AFD #98FD8A
analogous
#B68AFD #EF8AFD #FD8AD2
triadic
#EF8AFD #FDEF8A #8AFDEF
tetradic
#EF8AFD #FDB68A #98FD8A #8AD2FD
square
#EF8AFD #FDB68A #98FD8A #8AD2FD
split-complementary
#EF8AFD #D2FD8A #8AFDB6
monochromatic
#DF12FB #E74EFC #EF8AFD #F7C6FE #FBE1FE

Accessibility & contrast

On white

2.16
#EF8AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#EF8AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8AFD
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8AFD#FFFFFF#000000##000000
##EF8AFD1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#98B5FA
Tritanopia (blue-blind)
#F298B8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ef8afd;
/* rgb */ color: rgb(239, 138, 253);
/* oklch */ color: oklch(78.1% 0.188 322.6);
Tailwind
colors: {
  custom: {
    50: '#f6affe',
    500: '#ef8afd',
    950: '#000000',
  },
}
SCSS
$custom: #ef8afd;
$custom-light: #f6affe;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8afd",
  "rgb": {
    "r": 239,
    "g": 138,
    "b": 253
  },
  "hsl": {
    "h": 292.696,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.78118,
    "c": 0.18778,
    "h": 322.6
  },
  "luminance": 0.4362
}

Semantic roles & 50–950 ramp

primary
#EF8AFD
secondary
#D8F7D4
accent
#E6001C
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EF8AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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