#EB9DF7#EB9DF7

#EB9DF7 is a light, vivid purple. Relative luminance 0.485; OKLCH L 80.3% C 0.148 H 322.0°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#EB9DF7
RGBrgb(235, 157, 247)
HSLhsl(292, 85%, 79%)
HSVhsv(292, 36%, 97%)
CMYKcmyk(4.9%, 36.4%, 0%, 3.1%)
CIE-LABlab(75.14, 43.37, -33.32)
CIE-LCHlch(75.14, 54.69, 322.47°)
OKLaboklab(80.31% 0.1168 -0.0911)
OKLCHoklch(80.31% 0.148 322)
XYZxyz(63.1045, 48.4936, 94.0137)
Luminance0.4849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB9DF7 #A9F79D
analogous
#BE9DF7 #EB9DF7 #F79DD6
triadic
#EB9DF7 #F7EB9D #9DF7EB
tetradic
#EB9DF7 #F7BE9D #A9F79D #9DD6F7
square
#EB9DF7 #F7BE9D #A9F79D #9DD6F7
split-complementary
#EB9DF7 #D6F79D #9DF7BE
monochromatic
#D42CEE #DF64F2 #EB9DF7 #F7D6FC #F9E3FD

Accessibility & contrast

On white

1.96
#EB9DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#EB9DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB9DF7
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB9DF7#FFFFFF#000000##000000
##EB9DF71.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B3FA
Deuteranopia (green-blind)
#A6BCF4
Tritanopia (blue-blind)
#EDA7BF
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #eb9df7;
/* rgb */ color: rgb(235, 157, 247);
/* oklch */ color: oklch(80.3% 0.148 322.0);
Tailwind
colors: {
  custom: {
    50: '#f2bbfa',
    500: '#eb9df7',
    950: '#000000',
  },
}
SCSS
$custom: #eb9df7;
$custom-light: #f2bbfa;
$custom-dark: #000000;
JSON
{
  "hex": "#eb9df7",
  "rgb": {
    "r": 235,
    "g": 157,
    "b": 247
  },
  "hsl": {
    "h": 292,
    "s": 84.906,
    "l": 79.216
  },
  "oklch": {
    "l": 0.80308,
    "c": 0.14809,
    "h": 322
  },
  "luminance": 0.48492
}

Semantic roles & 50–950 ramp

primary
#EB9DF7
secondary
#DAF5D6
accent
#E10422
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171217
muted
#858185

Preview Lab

Preview with #EB9DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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