#EF8EF5#EF8EF5

#EF8EF5 is a light, vivid purple. Relative luminance 0.443; OKLCH L 78.3% C 0.174 H 325.0°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#EF8EF5
RGBrgb(239, 142, 245)
HSLhsl(297, 84%, 76%)
HSVhsv(297, 42%, 96%)
CMYKcmyk(2.4%, 42%, 0%, 3.9%)
CIE-LABlab(72.42, 51.91, -36.39)
CIE-LCHlch(72.42, 63.40, 324.97°)
OKLaboklab(78.34% 0.1422 -0.0997)
OKLCHoklch(78.34% 0.174 325)
XYZxyz(61.7496, 44.2920, 91.6651)
Luminance0.4429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8EF5 #94F58E
analogous
#BB8EF5 #EF8EF5 #F58EC7
triadic
#EF8EF5 #F5EF8E #8EF5EF
tetradic
#EF8EF5 #F5BB8E #94F58E #8EC7F5
square
#EF8EF5 #F5BB8E #94F58E #8EC7F5
split-complementary
#EF8EF5 #C7F58E #8EF5BB
monochromatic
#DF1EEB #E756F0 #EF8EF5 #F7C6FA #FBE3FD

Accessibility & contrast

On white

2.13
#EF8EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#EF8EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8EF5
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8EF5#FFFFFF#000000##000000
##EF8EF51.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AAF9
Deuteranopia (green-blind)
#9EB6F2
Tritanopia (blue-blind)
#F399B6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ef8ef5;
/* rgb */ color: rgb(239, 142, 245);
/* oklch */ color: oklch(78.3% 0.174 325.0);
Tailwind
colors: {
  custom: {
    50: '#f6b1f8',
    500: '#ef8ef5',
    950: '#000000',
  },
}
SCSS
$custom: #ef8ef5;
$custom-light: #f6b1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8ef5",
  "rgb": {
    "r": 239,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 296.505,
    "s": 83.74,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78343,
    "c": 0.17362,
    "h": 325
  },
  "luminance": 0.44289
}

Semantic roles & 50–950 ramp

primary
#EF8EF5
secondary
#D8F4D7
accent
#E00512
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EF8EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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