#EB8CEB#EB8CEB

#EB8CEB is a light, vivid purple. Relative luminance 0.424; OKLCH L 77.2% C 0.165 H 327.0°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#EB8CEB
RGBrgb(235, 140, 235)
HSLhsl(300, 70%, 74%)
HSVhsv(300, 40%, 92%)
CMYKcmyk(0%, 40.4%, 0%, 7.8%)
CIE-LABlab(71.16, 49.95, -32.92)
CIE-LCHlch(71.16, 59.82, 326.61°)
OKLaboklab(77.16% 0.1385 -0.0899)
OKLCHoklch(77.16% 0.165 327)
XYZxyz(58.6333, 42.4192, 83.6804)
Luminance0.4242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8CEB #8CEB8C
analogous
#BB8CEB #EB8CEB #EB8CBB
triadic
#EB8CEB #EBEB8C #8CEBEB
tetradic
#EB8CEB #EBBB8C #8CEB8C #8CBBEB
square
#EB8CEB #EBBB8C #8CEB8C #8CBBEB
split-complementary
#EB8CEB #BBEB8C #8CEBBB
monochromatic
#D725D7 #E258E2 #EB8CEB #F4C0F4 #FAE5FA

Accessibility & contrast

On white

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

On black

9.48
#EB8CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8CEB
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8CEB#FFFFFF#000000##000000
##EB8CEB1.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6EE
Deuteranopia (green-blind)
#9EB3E8
Tritanopia (blue-blind)
#F095B1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #eb8ceb;
/* rgb */ color: rgb(235, 140, 235);
/* oklch */ color: oklch(77.2% 0.165 327.0);
Tailwind
colors: {
  custom: {
    50: '#f3b0f1',
    500: '#eb8ceb',
    950: '#000000',
  },
}
SCSS
$custom: #eb8ceb;
$custom-light: #f3b0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8ceb",
  "rgb": {
    "r": 235,
    "g": 140,
    "b": 235
  },
  "hsl": {
    "h": 300,
    "s": 70.37,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77165,
    "c": 0.16511,
    "h": 327
  },
  "luminance": 0.42416
}

Semantic roles & 50–950 ramp

primary
#EB8CEB
secondary
#D9F2D9
accent
#D21313
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EB8CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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