#EB8CE2#EB8CE2

#EB8CE2 is a light, vivid purple. Relative luminance 0.419; OKLCH L 76.8% C 0.157 H 330.5°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#EB8CE2
RGBrgb(235, 140, 226)
HSLhsl(306, 70%, 74%)
HSVhsv(306, 40%, 92%)
CMYKcmyk(0%, 40.4%, 3.8%, 7.8%)
CIE-LABlab(70.81, 48.36, -28.52)
CIE-LCHlch(70.81, 56.15, 329.48°)
OKLaboklab(76.79% 0.1365 -0.0774)
OKLCHoklch(76.79% 0.157 330.5)
XYZxyz(57.3658, 41.9122, 77.0050)
Luminance0.4191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8CE2 #8CEB95
analogous
#C48CEB #EB8CE2 #EB8CB2
triadic
#EB8CE2 #E2EB8C #8CE2EB
tetradic
#EB8CE2 #EBC48C #8CEB95 #8CB2EB
square
#EB8CE2 #EBC48C #8CEB95 #8CB2EB
split-complementary
#EB8CE2 #B2EB8C #8CEBC4
monochromatic
#D725C6 #E258D5 #EB8CE2 #F4C0EF #FAE5F8

Accessibility & contrast

On white

2.24
#EB8CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#EB8CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8CE2
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8CE2#FFFFFF#000000##000000
##EB8CE21.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A5E5
Deuteranopia (green-blind)
#A1B2DF
Tritanopia (blue-blind)
#F293AD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #eb8ce2;
/* rgb */ color: rgb(235, 140, 226);
/* oklch */ color: oklch(76.8% 0.157 330.5);
Tailwind
colors: {
  custom: {
    50: '#f3b0eb',
    500: '#eb8ce2',
    950: '#000000',
  },
}
SCSS
$custom: #eb8ce2;
$custom-light: #f3b0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8ce2",
  "rgb": {
    "r": 235,
    "g": 140,
    "b": 226
  },
  "hsl": {
    "h": 305.684,
    "s": 70.37,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76789,
    "c": 0.15693,
    "h": 330.5
  },
  "luminance": 0.41909
}

Semantic roles & 50–950 ramp

primary
#EB8CE2
secondary
#D9F2DB
accent
#D22513
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EB8CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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