#EE8AF2#EE8AF2

#EE8AF2 is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.5% C 0.177 H 325.7°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#EE8AF2
RGBrgb(238, 138, 242)
HSLhsl(298, 80%, 75%)
HSVhsv(298, 43%, 95%)
CMYKcmyk(1.7%, 43%, 0%, 5.1%)
CIE-LABlab(71.40, 53.10, -36.36)
CIE-LCHlch(71.40, 64.35, 325.60°)
OKLaboklab(77.51% 0.1461 -0.0996)
OKLCHoklch(77.51% 0.177 325.7)
XYZxyz(60.3741, 42.7677, 89.0620)
Luminance0.4276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EE8AF2 #8EF28A
analogous
#BA8AF2 #EE8AF2 #F28AC2
triadic
#EE8AF2 #F2EE8A #8AF2EE
tetradic
#EE8AF2 #F2BA8A #8EF28A #8AC2F2
square
#EE8AF2 #F2BA8A #8EF28A #8AC2F2
split-complementary
#EE8AF2 #C2F28A #8AF2BA
monochromatic
#DE1CE6 #E653EC #EE8AF2 #F6C1F8 #FBE3FC

Accessibility & contrast

On white

2.20
#EE8AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#EE8AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EE8AF2
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EE8AF2#FFFFFF#000000##000000
##EE8AF21.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A7F6
Deuteranopia (green-blind)
#9CB3EF
Tritanopia (blue-blind)
#F395B3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ee8af2;
/* rgb */ color: rgb(238, 138, 242);
/* oklch */ color: oklch(77.5% 0.177 325.7);
Tailwind
colors: {
  custom: {
    50: '#f5aff6',
    500: '#ee8af2',
    950: '#000000',
  },
}
SCSS
$custom: #ee8af2;
$custom-light: #f5aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#ee8af2",
  "rgb": {
    "r": 238,
    "g": 138,
    "b": 242
  },
  "hsl": {
    "h": 297.692,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77511,
    "c": 0.17679,
    "h": 325.7
  },
  "luminance": 0.42765
}

Semantic roles & 50–950 ramp

primary
#EE8AF2
secondary
#D8F4D7
accent
#DC0911
background
#FFFAFF
surface
#FFF5FE
border
#D7CFD6
text
#171117
muted
#858085

Preview Lab

Preview with #EE8AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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