#EF8BFE#EF8BFE

#EF8BFE is a light, vivid purple. Relative luminance 0.440; OKLCH L 78.3% C 0.187 H 322.2°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#EF8BFE
RGBrgb(239, 139, 254)
HSLhsl(292, 98%, 77%)
HSVhsv(292, 45%, 100%)
CMYKcmyk(5.9%, 45.3%, 0%, 0.4%)
CIE-LABlab(72.21, 55.08, -41.62)
CIE-LCHlch(72.21, 69.03, 322.92°)
OKLaboklab(78.31% 0.1479 -0.1146)
OKLCHoklch(78.31% 0.187 322.2)
XYZxyz(62.7167, 43.9743, 98.9310)
Luminance0.4397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8BFE #9AFE8B
analogous
#B68BFE #EF8BFE #FE8BD4
triadic
#EF8BFE #FEEF8B #8BFEEF
tetradic
#EF8BFE #FEB68B #9AFE8B #8BD4FE
square
#EF8BFE #FEB68B #9AFE8B #8BD4FE
split-complementary
#EF8BFE #D4FE8B #8BFEB6
monochromatic
#DE12FD #E74EFD #EF8BFE #F7C8FF #FBE1FF

Accessibility & contrast

On white

2.14
#EF8BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#EF8BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8BFE
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8BFE#FFFFFF#000000##000000
##EF8BFE1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#98B5FB
Tritanopia (blue-blind)
#F299B9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ef8bfe;
/* rgb */ color: rgb(239, 139, 254);
/* oklch */ color: oklch(78.3% 0.187 322.2);
Tailwind
colors: {
  custom: {
    50: '#f6afff',
    500: '#ef8bfe',
    950: '#000000',
  },
}
SCSS
$custom: #ef8bfe;
$custom-light: #f6afff;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8bfe",
  "rgb": {
    "r": 239,
    "g": 139,
    "b": 254
  },
  "hsl": {
    "h": 292.174,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.78308,
    "c": 0.18714,
    "h": 322.2
  },
  "luminance": 0.43972
}

Semantic roles & 50–950 ramp

primary
#EF8BFE
secondary
#D9F7D4
accent
#E6001E
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EF8BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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