#EF8BE7#EF8BE7

#EF8BE7 is a light, vivid purple. Relative luminance 0.426; OKLCH L 77.3% C 0.166 H 330.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#EF8BE7
RGBrgb(239, 139, 231)
HSLhsl(305, 76%, 74%)
HSVhsv(305, 42%, 94%)
CMYKcmyk(0%, 41.8%, 3.3%, 6.3%)
CIE-LABlab(71.27, 50.94, -30.51)
CIE-LCHlch(71.27, 59.38, 329.08°)
OKLaboklab(77.3% 0.1435 -0.0829)
OKLCHoklch(77.3% 0.166 330)
XYZxyz(59.2523, 42.5885, 80.6852)
Luminance0.4259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8BE7 #8BEF93
analogous
#C58BEF #EF8BE7 #EF8BB5
triadic
#EF8BE7 #E7EF8B #8BE7EF
tetradic
#EF8BE7 #EFC58B #8BEF93 #8BB5EF
square
#EF8BE7 #EFC58B #8BEF93 #8BB5EF
split-complementary
#EF8BE7 #B5EF8B #8BEFC5
monochromatic
#E01FD1 #E855DC #EF8BE7 #F6C1F2 #FBE4F9

Accessibility & contrast

On white

2.21
#EF8BE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#EF8BE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8BE7
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8BE7#FFFFFF#000000##000000
##EF8BE71.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A6EA
Deuteranopia (green-blind)
#A1B3E4
Tritanopia (blue-blind)
#F693AE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ef8be7;
/* rgb */ color: rgb(239, 139, 231);
/* oklch */ color: oklch(77.3% 0.166 330.0);
Tailwind
colors: {
  custom: {
    50: '#f6afef',
    500: '#ef8be7',
    950: '#000000',
  },
}
SCSS
$custom: #ef8be7;
$custom-light: #f6afef;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8be7",
  "rgb": {
    "r": 239,
    "g": 139,
    "b": 231
  },
  "hsl": {
    "h": 304.8,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77301,
    "c": 0.16578,
    "h": 330
  },
  "luminance": 0.42585
}

Semantic roles & 50–950 ramp

primary
#EF8BE7
secondary
#D8F3DA
accent
#D81E0E
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171116
muted
#858084

Preview Lab

Preview with #EF8BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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