#EB8CE8#EB8CE8

#EB8CE8 is a light, vivid purple. Relative luminance 0.422; OKLCH L 77.0% C 0.162 H 328.1°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#EB8CE8
RGBrgb(235, 140, 232)
HSLhsl(302, 70%, 74%)
HSVhsv(302, 40%, 92%)
CMYKcmyk(0%, 40.4%, 1.3%, 7.8%)
CIE-LABlab(71.04, 49.42, -31.46)
CIE-LCHlch(71.04, 58.58, 327.52°)
OKLaboklab(77.04% 0.1379 -0.0857)
OKLCHoklch(77.04% 0.162 328.1)
XYZxyz(58.2035, 42.2473, 81.4170)
Luminance0.4224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8CE8 #8CEB8F
analogous
#BE8CEB #EB8CE8 #EB8CB8
triadic
#EB8CE8 #E8EB8C #8CE8EB
tetradic
#EB8CE8 #EBBE8C #8CEB8F #8CB8EB
square
#EB8CE8 #EBBE8C #8CEB8F #8CB8EB
split-complementary
#EB8CE8 #B8EB8C #8CEBBE
monochromatic
#D725D2 #E258DE #EB8CE8 #F4C0F2 #FAE5FA

Accessibility & contrast

On white

2.22
#EB8CE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#EB8CE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8CE8
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8CE8#FFFFFF#000000##000000
##EB8CE81.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A6EB
Deuteranopia (green-blind)
#9FB2E5
Tritanopia (blue-blind)
#F194AF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #eb8ce8;
/* rgb */ color: rgb(235, 140, 232);
/* oklch */ color: oklch(77.0% 0.162 328.1);
Tailwind
colors: {
  custom: {
    50: '#f3b0ef',
    500: '#eb8ce8',
    950: '#000000',
  },
}
SCSS
$custom: #eb8ce8;
$custom-light: #f3b0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8ce8",
  "rgb": {
    "r": 235,
    "g": 140,
    "b": 232
  },
  "hsl": {
    "h": 301.895,
    "s": 70.37,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77038,
    "c": 0.16233,
    "h": 328.1
  },
  "luminance": 0.42245
}

Semantic roles & 50–950 ramp

primary
#EB8CE8
secondary
#D9F2DA
accent
#D21913
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EB8CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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