#EB9DF2#EB9DF2

#EB9DF2 is a light, vivid purple. Relative luminance 0.482; OKLCH L 80.1% C 0.143 H 323.9°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#EB9DF2
RGBrgb(235, 157, 242)
HSLhsl(295, 77%, 78%)
HSVhsv(295, 35%, 95%)
CMYKcmyk(2.9%, 35.1%, 0%, 5.1%)
CIE-LABlab(74.94, 42.43, -30.90)
CIE-LCHlch(74.94, 52.49, 323.94°)
OKLaboklab(80.1% 0.1156 -0.0842)
OKLCHoklch(80.1% 0.143 323.9)
XYZxyz(62.3433, 48.1891, 90.0046)
Luminance0.4819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB9DF2 #A4F29D
analogous
#C09DF2 #EB9DF2 #F29DCE
triadic
#EB9DF2 #F2EB9D #9DF2EB
tetradic
#EB9DF2 #F2C09D #A4F29D #9DCEF2
square
#EB9DF2 #F2C09D #A4F29D #9DCEF2
split-complementary
#EB9DF2 #CEF29D #9DF2C0
monochromatic
#D531E4 #E067EB #EB9DF2 #F6D3F9 #F9E4FB

Accessibility & contrast

On white

1.97
#EB9DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#EB9DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB9DF2
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB9DF2#FFFFFF#000000##000000
##EB9DF21.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B3F5
Deuteranopia (green-blind)
#A8BCEF
Tritanopia (blue-blind)
#EEA6BD
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #eb9df2;
/* rgb */ color: rgb(235, 157, 242);
/* oklch */ color: oklch(80.1% 0.143 323.9);
Tailwind
colors: {
  custom: {
    50: '#f2bbf6',
    500: '#eb9df2',
    950: '#000000',
  },
}
SCSS
$custom: #eb9df2;
$custom-light: #f2bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb9df2",
  "rgb": {
    "r": 235,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 295.059,
    "s": 76.577,
    "l": 78.235
  },
  "oklch": {
    "l": 0.801,
    "c": 0.14304,
    "h": 323.9
  },
  "luminance": 0.48187
}

Semantic roles & 50–950 ramp

primary
#EB9DF2
secondary
#DAF3D8
accent
#D90D1E
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#171217
muted
#858185

Preview Lab

Preview with #EB9DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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