#EF8BE2#EF8BE2

#EF8BE2 is a light, vivid purple. Relative luminance 0.423; OKLCH L 77.1% C 0.161 H 331.9°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#EF8BE2
RGBrgb(239, 139, 226)
HSLhsl(308, 76%, 74%)
HSVhsv(308, 42%, 94%)
CMYKcmyk(0%, 41.8%, 5.4%, 6.3%)
CIE-LABlab(71.08, 50.09, -28.06)
CIE-LCHlch(71.08, 57.41, 330.75°)
OKLaboklab(77.1% 0.1424 -0.076)
OKLCHoklch(77.1% 0.161 331.9)
XYZxyz(58.5562, 42.3101, 77.0191)
Luminance0.4231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8BE2 #8BEF98
analogous
#CA8BEF #EF8BE2 #EF8BB0
triadic
#EF8BE2 #E2EF8B #8BE2EF
tetradic
#EF8BE2 #EFCA8B #8BEF98 #8BB0EF
square
#EF8BE2 #EFCA8B #8BEF98 #8BB0EF
split-complementary
#EF8BE2 #B0EF8B #8BEFCA
monochromatic
#E01FC7 #E855D5 #EF8BE2 #F6C1EF #FBE4F8

Accessibility & contrast

On white

2.22
#EF8BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#EF8BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8BE2
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8BE2#FFFFFF#000000##000000
##EF8BE21.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A5E5
Deuteranopia (green-blind)
#A3B3DF
Tritanopia (blue-blind)
#F791AC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ef8be2;
/* rgb */ color: rgb(239, 139, 226);
/* oklch */ color: oklch(77.1% 0.161 331.9);
Tailwind
colors: {
  custom: {
    50: '#f6afeb',
    500: '#ef8be2',
    950: '#000000',
  },
}
SCSS
$custom: #ef8be2;
$custom-light: #f6afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8be2",
  "rgb": {
    "r": 239,
    "g": 139,
    "b": 226
  },
  "hsl": {
    "h": 307.8,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77096,
    "c": 0.16143,
    "h": 331.9
  },
  "luminance": 0.42307
}

Semantic roles & 50–950 ramp

primary
#EF8BE2
secondary
#D8F3DB
accent
#D8280E
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171116
muted
#858084

Preview Lab

Preview with #EF8BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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