#EF8EF2#EF8EF2

#EF8EF2 is a light, vivid purple. Relative luminance 0.441; OKLCH L 78.2% C 0.171 H 326.0°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#EF8EF2
RGBrgb(239, 142, 242)
HSLhsl(298, 79%, 75%)
HSVhsv(298, 41%, 95%)
CMYKcmyk(1.2%, 41.3%, 0%, 5.1%)
CIE-LABlab(72.30, 51.37, -34.94)
CIE-LCHlch(72.30, 62.13, 325.77°)
OKLaboklab(78.21% 0.1416 -0.0956)
OKLCHoklch(78.21% 0.171 326)
XYZxyz(61.2953, 44.1103, 89.2726)
Luminance0.4411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8EF2 #91F28E
analogous
#BD8EF2 #EF8EF2 #F28EC3
triadic
#EF8EF2 #F2EF8E #8EF2EF
tetradic
#EF8EF2 #F2BD8E #91F28E #8EC3F2
square
#EF8EF2 #F2BD8E #91F28E #8EC3F2
split-complementary
#EF8EF2 #C3F28E #8EF2BD
monochromatic
#DF20E5 #E757EC #EF8EF2 #F7C5F8 #FBE4FC

Accessibility & contrast

On white

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

On black

9.82
#EF8EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8EF2
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8EF2#FFFFFF#000000##000000
##EF8EF21.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AAF6
Deuteranopia (green-blind)
#9FB6EF
Tritanopia (blue-blind)
#F498B5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ef8ef2;
/* rgb */ color: rgb(239, 142, 242);
/* oklch */ color: oklch(78.2% 0.171 326.0);
Tailwind
colors: {
  custom: {
    50: '#f6b1f6',
    500: '#ef8ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ef8ef2;
$custom-light: #f6b1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8ef2",
  "rgb": {
    "r": 239,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 298.2,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78212,
    "c": 0.1708,
    "h": 326
  },
  "luminance": 0.44108
}

Semantic roles & 50–950 ramp

primary
#EF8EF2
secondary
#D8F4D7
accent
#DC0A10
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EF8EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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