#EF8BF2#EF8BF2

#EF8BF2 is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.8% C 0.176 H 326.1°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#EF8BF2
RGBrgb(239, 139, 242)
HSLhsl(298, 80%, 75%)
HSVhsv(298, 43%, 95%)
CMYKcmyk(1.2%, 42.6%, 0%, 5.1%)
CIE-LABlab(71.71, 52.88, -35.86)
CIE-LCHlch(71.71, 63.90, 325.86°)
OKLaboklab(77.77% 0.1458 -0.0981)
OKLCHoklch(77.77% 0.176 326.1)
XYZxyz(60.8549, 43.2296, 89.1259)
Luminance0.4323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8BF2 #8EF28B
analogous
#BB8BF2 #EF8BF2 #F28BC2
triadic
#EF8BF2 #F2EF8B #8BF2EF
tetradic
#EF8BF2 #F2BB8B #8EF28B #8BC2F2
square
#EF8BF2 #F2BB8B #8EF28B #8BC2F2
split-complementary
#EF8BF2 #C2F28B #8BF2BB
monochromatic
#E01DE6 #E754EC #EF8BF2 #F7C2F8 #FBE3FC

Accessibility & contrast

On white

2.18
#EF8BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#EF8BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8BF2
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8BF2#FFFFFF#000000##000000
##EF8BF21.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A8F6
Deuteranopia (green-blind)
#9DB4EF
Tritanopia (blue-blind)
#F496B3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ef8bf2;
/* rgb */ color: rgb(239, 139, 242);
/* oklch */ color: oklch(77.8% 0.176 326.1);
Tailwind
colors: {
  custom: {
    50: '#f6aff6',
    500: '#ef8bf2',
    950: '#000000',
  },
}
SCSS
$custom: #ef8bf2;
$custom-light: #f6aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8bf2",
  "rgb": {
    "r": 239,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 298.252,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7777,
    "c": 0.17576,
    "h": 326.1
  },
  "luminance": 0.43227
}

Semantic roles & 50–950 ramp

primary
#EF8BF2
secondary
#D8F4D7
accent
#DC090F
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EF8BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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