#EF8DF8#EF8DF8

#EF8DF8 is a light, vivid purple. Relative luminance 0.442; OKLCH L 78.3% C 0.178 H 324.0°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#EF8DF8
RGBrgb(239, 141, 248)
HSLhsl(295, 88%, 76%)
HSVhsv(295, 43%, 97%)
CMYKcmyk(3.6%, 43.1%, 0%, 2.7%)
CIE-LABlab(72.35, 52.96, -38.14)
CIE-LCHlch(72.35, 65.27, 324.24°)
OKLaboklab(78.33% 0.1441 -0.1047)
OKLCHoklch(78.33% 0.178 324)
XYZxyz(62.0631, 44.1805, 94.0473)
Luminance0.4418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8DF8 #96F88D
analogous
#BA8DF8 #EF8DF8 #F88DCC
triadic
#EF8DF8 #F8EF8D #8DF8EF
tetradic
#EF8DF8 #F8BA8D #96F88D #8DCCF8
square
#EF8DF8 #F8BA8D #96F88D #8DCCF8
split-complementary
#EF8DF8 #CCF88D #8DF8BA
monochromatic
#DF1AF1 #E753F4 #EF8DF8 #F7C7FC #FBE2FD

Accessibility & contrast

On white

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

On black

9.84
#EF8DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8DF8
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8DF8#FFFFFF#000000##000000
##EF8DF81.002.149.849.84
#FFFFFF2.141.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFC
Deuteranopia (green-blind)
#9CB6F5
Tritanopia (blue-blind)
#F399B7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ef8df8;
/* rgb */ color: rgb(239, 141, 248);
/* oklch */ color: oklch(78.3% 0.178 324.0);
Tailwind
colors: {
  custom: {
    50: '#f6b1fb',
    500: '#ef8df8',
    950: '#000000',
  },
}
SCSS
$custom: #ef8df8;
$custom-light: #f6b1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8df8",
  "rgb": {
    "r": 239,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 294.953,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78328,
    "c": 0.17812,
    "h": 324
  },
  "luminance": 0.44178
}

Semantic roles & 50–950 ramp

primary
#EF8DF8
secondary
#D8F5D6
accent
#E50014
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EF8DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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