#EB8CE7#EB8CE7

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

Color values

HEX#EB8CE7
RGBrgb(235, 140, 231)
HSLhsl(303, 70%, 74%)
HSVhsv(303, 40%, 92%)
CMYKcmyk(0%, 40.4%, 1.7%, 7.8%)
CIE-LABlab(71.00, 49.24, -30.97)
CIE-LCHlch(71.00, 58.17, 327.83°)
OKLaboklab(77% 0.1377 -0.0843)
OKLCHoklch(77% 0.161 328.5)
XYZxyz(58.0619, 42.1907, 80.6711)
Luminance0.4219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8CE7 #8CEB90
analogous
#BF8CEB #EB8CE7 #EB8CB7
triadic
#EB8CE7 #E7EB8C #8CE7EB
tetradic
#EB8CE7 #EBBF8C #8CEB90 #8CB7EB
square
#EB8CE7 #EBBF8C #8CEB90 #8CB7EB
split-complementary
#EB8CE7 #B7EB8C #8CEBBF
monochromatic
#D725D0 #E258DC #EB8CE7 #F4C0F2 #FAE5FA

Accessibility & contrast

On white

2.23
#EB8CE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#EB8CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8CE7
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8CE7#FFFFFF#000000##000000
##EB8CE71.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eb8ce7;
/* rgb */ color: rgb(235, 140, 231);
/* oklch */ color: oklch(77.0% 0.161 328.5);
Tailwind
colors: {
  custom: {
    50: '#f3b0ef',
    500: '#eb8ce7',
    950: '#000000',
  },
}
SCSS
$custom: #eb8ce7;
$custom-light: #f3b0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8ce7",
  "rgb": {
    "r": 235,
    "g": 140,
    "b": 231
  },
  "hsl": {
    "h": 302.526,
    "s": 70.37,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76996,
    "c": 0.16142,
    "h": 328.5
  },
  "luminance": 0.42188
}

Semantic roles & 50–950 ramp

primary
#EB8CE7
secondary
#D9F2DA
accent
#D21B13
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EB8CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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