#EB8CEE#EB8CEE

#EB8CEE is a light, vivid purple. Relative luminance 0.426; OKLCH L 77.3% C 0.168 H 326.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#EB8CEE
RGBrgb(235, 140, 238)
HSLhsl(298, 74%, 74%)
HSVhsv(298, 41%, 93%)
CMYKcmyk(1.3%, 41.2%, 0%, 6.7%)
CIE-LABlab(71.28, 50.49, -34.38)
CIE-LCHlch(71.28, 61.09, 325.75°)
OKLaboklab(77.29% 0.1391 -0.094)
OKLCHoklch(77.29% 0.168 326)
XYZxyz(59.0704, 42.5940, 85.9823)
Luminance0.4259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8CEE #8FEE8C
analogous
#BA8CEE #EB8CEE #EE8CC0
triadic
#EB8CEE #EEEB8C #8CEEEB
tetradic
#EB8CEE #EEBA8C #8FEE8C #8CC0EE
square
#EB8CEE #EEBA8C #8FEE8C #8CC0EE
split-complementary
#EB8CEE #C0EE8C #8CEEBA
monochromatic
#D821DE #E257E6 #EB8CEE #F4C1F6 #FAE4FB

Accessibility & contrast

On white

2.21
#EB8CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#EB8CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8CEE
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8CEE#FFFFFF#000000##000000
##EB8CEE1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F1
Deuteranopia (green-blind)
#9DB3EB
Tritanopia (blue-blind)
#F096B2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #eb8cee;
/* rgb */ color: rgb(235, 140, 238);
/* oklch */ color: oklch(77.3% 0.168 326.0);
Tailwind
colors: {
  custom: {
    50: '#f3b0f4',
    500: '#eb8cee',
    950: '#000000',
  },
}
SCSS
$custom: #eb8cee;
$custom-light: #f3b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8cee",
  "rgb": {
    "r": 235,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 298.163,
    "s": 74.242,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77293,
    "c": 0.16791,
    "h": 326
  },
  "luminance": 0.42591
}

Semantic roles & 50–950 ramp

primary
#EB8CEE
secondary
#D9F3D8
accent
#D60F15
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EB8CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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