#EB8DF2#EB8DF2

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

Color values

HEX#EB8DF2
RGBrgb(235, 141, 242)
HSLhsl(296, 80%, 75%)
HSVhsv(296, 42%, 95%)
CMYKcmyk(2.9%, 41.7%, 0%, 5.1%)
CIE-LABlab(71.64, 50.71, -36.01)
CIE-LCHlch(71.64, 62.19, 324.62°)
OKLaboklab(77.62% 0.1385 -0.0986)
OKLCHoklch(77.62% 0.17 324.5)
XYZxyz(59.8113, 43.1253, 89.1606)
Luminance0.4312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8DF2 #94F28D
analogous
#B98DF2 #EB8DF2 #F28DC6
triadic
#EB8DF2 #F2EB8D #8DF2EB
tetradic
#EB8DF2 #F2B98D #94F28D #8DC6F2
square
#EB8DF2 #F2B98D #94F28D #8DC6F2
split-complementary
#EB8DF2 #C6F28D #8DF2B9
monochromatic
#D81FE5 #E156EC #EB8DF2 #F5C4F8 #FAE4FC

Accessibility & contrast

On white

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

On black

9.62
#EB8DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8DF2
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8DF2#FFFFFF#000000##000000
##EB8DF21.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F6
Deuteranopia (green-blind)
#9CB4EF
Tritanopia (blue-blind)
#EF98B4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #eb8df2;
/* rgb */ color: rgb(235, 141, 242);
/* oklch */ color: oklch(77.6% 0.170 324.5);
Tailwind
colors: {
  custom: {
    50: '#f3b0f6',
    500: '#eb8df2',
    950: '#000000',
  },
}
SCSS
$custom: #eb8df2;
$custom-light: #f3b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8df2",
  "rgb": {
    "r": 235,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 295.842,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.77617,
    "c": 0.17005,
    "h": 324.5
  },
  "luminance": 0.43123
}

Semantic roles & 50–950 ramp

primary
#EB8DF2
secondary
#D9F4D7
accent
#DC0A18
background
#FFFBFF
surface
#FEF6FE
border
#D6D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EB8DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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