#EB8DF1#EB8DF1

#EB8DF1 is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.6% C 0.169 H 324.9°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#EB8DF1
RGBrgb(235, 141, 241)
HSLhsl(296, 78%, 75%)
HSVhsv(296, 41%, 95%)
CMYKcmyk(2.5%, 41.5%, 0%, 5.5%)
CIE-LABlab(71.60, 50.53, -35.52)
CIE-LCHlch(71.60, 61.77, 324.89°)
OKLaboklab(77.57% 0.1383 -0.0973)
OKLCHoklch(77.57% 0.169 324.9)
XYZxyz(59.6616, 43.0654, 88.3718)
Luminance0.4306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8DF1 #93F18D
analogous
#B98DF1 #EB8DF1 #F18DC5
triadic
#EB8DF1 #F1EB8D #8DF1EB
tetradic
#EB8DF1 #F1B98D #93F18D #8DC5F1
square
#EB8DF1 #F1B98D #93F18D #8DC5F1
split-complementary
#EB8DF1 #C5F18D #8DF1B9
monochromatic
#D820E4 #E156EA #EB8DF1 #F5C4F8 #FAE4FC

Accessibility & contrast

On white

2.18
#EB8DF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#EB8DF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8DF1
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8DF1#FFFFFF#000000##000000
##EB8DF11.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A8F5
Deuteranopia (green-blind)
#9CB3EE
Tritanopia (blue-blind)
#EF98B4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #eb8df1;
/* rgb */ color: rgb(235, 141, 241);
/* oklch */ color: oklch(77.6% 0.169 324.9);
Tailwind
colors: {
  custom: {
    50: '#f3b0f6',
    500: '#eb8df1',
    950: '#000000',
  },
}
SCSS
$custom: #eb8df1;
$custom-light: #f3b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8df1",
  "rgb": {
    "r": 235,
    "g": 141,
    "b": 241
  },
  "hsl": {
    "h": 296.4,
    "s": 78.125,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77573,
    "c": 0.16909,
    "h": 324.9
  },
  "luminance": 0.43063
}

Semantic roles & 50–950 ramp

primary
#EB8DF1
secondary
#D9F3D8
accent
#DA0B18
background
#FFFBFF
surface
#FEF6FE
border
#D6D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EB8DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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