#EB8CEF#EB8CEF

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

Color values

HEX#EB8CEF
RGBrgb(235, 140, 239)
HSLhsl(298, 76%, 74%)
HSVhsv(298, 41%, 94%)
CMYKcmyk(1.7%, 41.4%, 0%, 6.3%)
CIE-LABlab(71.32, 50.67, -34.87)
CIE-LCHlch(71.32, 61.51, 325.47°)
OKLaboklab(77.34% 0.1393 -0.0954)
OKLCHoklch(77.34% 0.169 325.6)
XYZxyz(59.2177, 42.6530, 86.7582)
Luminance0.4265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8CEF #90EF8C
analogous
#BA8CEF #EB8CEF #EF8CC2
triadic
#EB8CEF #EFEB8C #8CEFEB
tetradic
#EB8CEF #EFBA8C #90EF8C #8CC2EF
square
#EB8CEF #EFBA8C #90EF8C #8CC2EF
split-complementary
#EB8CEF #C2EF8C #8CEFBA
monochromatic
#D821E0 #E256E8 #EB8CEF #F4C2F6 #FAE4FB

Accessibility & contrast

On white

2.20
#EB8CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#EB8CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8CEF
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8CEF#FFFFFF#000000##000000
##EB8CEF1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F3
Deuteranopia (green-blind)
#9CB3EC
Tritanopia (blue-blind)
#F096B2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #eb8cef;
/* rgb */ color: rgb(235, 140, 239);
/* oklch */ color: oklch(77.3% 0.169 325.6);
Tailwind
colors: {
  custom: {
    50: '#f3b0f4',
    500: '#eb8cef',
    950: '#000000',
  },
}
SCSS
$custom: #eb8cef;
$custom-light: #f3b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8cef",
  "rgb": {
    "r": 235,
    "g": 140,
    "b": 239
  },
  "hsl": {
    "h": 297.576,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77337,
    "c": 0.16885,
    "h": 325.6
  },
  "luminance": 0.4265
}

Semantic roles & 50–950 ramp

primary
#EB8CEF
secondary
#D9F3D8
accent
#D80E16
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EB8CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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