#EB7DE2#EB7DE2

#EB7DE2 is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.6% C 0.182 H 330.3°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#EB7DE2
RGBrgb(235, 125, 226)
HSLhsl(305, 73%, 71%)
HSVhsv(305, 47%, 92%)
CMYKcmyk(0%, 46.8%, 3.8%, 7.8%)
CIE-LABlab(67.89, 55.87, -33.02)
CIE-LCHlch(67.89, 64.90, 329.41°)
OKLaboklab(74.61% 0.1579 -0.09)
OKLCHoklch(74.61% 0.182 330.3)
XYZxyz(55.3215, 37.8236, 76.3235)
Luminance0.3782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7DE2 #7DEB86
analogous
#BD7DEB #EB7DE2 #EB7DAB
triadic
#EB7DE2 #E2EB7D #7DE2EB
tetradic
#EB7DE2 #EBBD7D #7DEB86 #7DABEB
square
#EB7DE2 #EBBD7D #7DEB86 #7DABEB
split-complementary
#EB7DE2 #ABEB7D #7DEBBD
monochromatic
#CE20C0 #E348D6 #EB7DE2 #F3B2EE #FBE4F9

Accessibility & contrast

On white

2.45
#EB7DE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#EB7DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7DE2
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7DE2#FFFFFF#000000##000000
##EB7DE21.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#789CE5
Deuteranopia (green-blind)
#97ABDF
Tritanopia (blue-blind)
#F286A5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #eb7de2;
/* rgb */ color: rgb(235, 125, 226);
/* oklch */ color: oklch(74.6% 0.182 330.3);
Tailwind
colors: {
  custom: {
    50: '#f3a6eb',
    500: '#eb7de2',
    950: '#000000',
  },
}
SCSS
$custom: #eb7de2;
$custom-light: #f3a6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7de2",
  "rgb": {
    "r": 235,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 304.909,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74607,
    "c": 0.18174,
    "h": 330.3
  },
  "luminance": 0.3782
}

Semantic roles & 50–950 ramp

primary
#EB7DE2
secondary
#D3F1D5
accent
#D52010
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EB7DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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