#EF8EF8#EF8EF8

#EF8EF8 is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.5% C 0.176 H 324.0°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#EF8EF8
RGBrgb(239, 142, 248)
HSLhsl(295, 88%, 76%)
HSVhsv(295, 43%, 97%)
CMYKcmyk(3.6%, 42.7%, 0%, 2.7%)
CIE-LABlab(72.55, 52.46, -37.84)
CIE-LCHlch(72.55, 64.68, 324.20°)
OKLaboklab(78.47% 0.1427 -0.1038)
OKLCHoklch(78.47% 0.176 324)
XYZxyz(62.2112, 44.4767, 94.0966)
Luminance0.4447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8EF8 #97F88E
analogous
#BA8EF8 #EF8EF8 #F88ECC
triadic
#EF8EF8 #F8EF8E #8EF8EF
tetradic
#EF8EF8 #F8BA8E #97F88E #8ECCF8
square
#EF8EF8 #F8BA8E #97F88E #8ECCF8
split-complementary
#EF8EF8 #CCF88E #8EF8BA
monochromatic
#DF1BF1 #E754F4 #EF8EF8 #F7C8FC #FBE2FD

Accessibility & contrast

On white

2.12
#EF8EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#EF8EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8EF8
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8EF8#FFFFFF#000000##000000
##EF8EF81.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ABFC
Deuteranopia (green-blind)
#9DB6F5
Tritanopia (blue-blind)
#F39AB7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ef8ef8;
/* rgb */ color: rgb(239, 142, 248);
/* oklch */ color: oklch(78.5% 0.176 324.0);
Tailwind
colors: {
  custom: {
    50: '#f6b1fb',
    500: '#ef8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #ef8ef8;
$custom-light: #f6b1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8ef8",
  "rgb": {
    "r": 239,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 294.906,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78475,
    "c": 0.17649,
    "h": 324
  },
  "luminance": 0.44474
}

Semantic roles & 50–950 ramp

primary
#EF8EF8
secondary
#D8F5D6
accent
#E50114
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EF8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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