#EF8DF2#EF8DF2

#EF8DF2 is a light, vivid purple. Relative luminance 0.438; OKLCH L 78.1% C 0.172 H 326.0°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#EF8DF2
RGBrgb(239, 141, 242)
HSLhsl(298, 80%, 75%)
HSVhsv(298, 42%, 95%)
CMYKcmyk(1.2%, 41.7%, 0%, 5.1%)
CIE-LABlab(72.10, 51.88, -35.25)
CIE-LCHlch(72.10, 62.72, 325.80°)
OKLaboklab(78.06% 0.143 -0.0964)
OKLCHoklch(78.06% 0.172 326)
XYZxyz(61.1472, 43.8141, 89.2233)
Luminance0.4381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8DF2 #90F28D
analogous
#BD8DF2 #EF8DF2 #F28DC2
triadic
#EF8DF2 #F2EF8D #8DF2EF
tetradic
#EF8DF2 #F2BD8D #90F28D #8DC2F2
square
#EF8DF2 #F2BD8D #90F28D #8DC2F2
split-complementary
#EF8DF2 #C2F28D #8DF2BD
monochromatic
#E01FE5 #E756EC #EF8DF2 #F7C4F8 #FBE4FC

Accessibility & contrast

On white

2.15
#EF8DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#EF8DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8DF2
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8DF2#FFFFFF#000000##000000
##EF8DF21.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A9F6
Deuteranopia (green-blind)
#9EB5EF
Tritanopia (blue-blind)
#F497B4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ef8df2;
/* rgb */ color: rgb(239, 141, 242);
/* oklch */ color: oklch(78.1% 0.172 326.0);
Tailwind
colors: {
  custom: {
    50: '#f6b1f6',
    500: '#ef8df2',
    950: '#000000',
  },
}
SCSS
$custom: #ef8df2;
$custom-light: #f6b1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8df2",
  "rgb": {
    "r": 239,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 298.218,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.78064,
    "c": 0.17245,
    "h": 326
  },
  "luminance": 0.43811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF8DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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