#EB7CD9#EB7CD9

#EB7CD9 is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.1% C 0.176 H 333.6°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#EB7CD9
RGBrgb(235, 124, 217)
HSLhsl(310, 74%, 70%)
HSVhsv(310, 47%, 92%)
CMYKcmyk(0%, 47.2%, 7.7%, 7.8%)
CIE-LABlab(67.34, 54.85, -28.87)
CIE-LCHlch(67.34, 61.99, 332.24°)
OKLaboklab(74.08% 0.1575 -0.0782)
OKLCHoklch(74.08% 0.176 333.6)
XYZxyz(53.9929, 37.0906, 69.9475)
Luminance0.3709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7CD9 #7CEB8E
analogous
#C67CEB #EB7CD9 #EB7CA1
triadic
#EB7CD9 #D9EB7C #7CD9EB
tetradic
#EB7CD9 #EBC67C #7CEB8E #7CA1EB
square
#EB7CD9 #EBC67C #7CEB8E #7CA1EB
split-complementary
#EB7CD9 #A1EB7C #7CEBC6
monochromatic
#CD1FB1 #E347CA #EB7CD9 #F3B1E8 #FBE4F7

Accessibility & contrast

On white

2.49
#EB7CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#EB7CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7CD9
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7CD9#FFFFFF#000000##000000
##EB7CD91.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9ADC
Deuteranopia (green-blind)
#99AAD6
Tritanopia (blue-blind)
#F482A1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #eb7cd9;
/* rgb */ color: rgb(235, 124, 217);
/* oklch */ color: oklch(74.1% 0.176 333.6);
Tailwind
colors: {
  custom: {
    50: '#f3a5e5',
    500: '#eb7cd9',
    950: '#000000',
  },
}
SCSS
$custom: #eb7cd9;
$custom-light: #f3a5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7cd9",
  "rgb": {
    "r": 235,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 309.73,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74084,
    "c": 0.17583,
    "h": 333.6
  },
  "luminance": 0.37087
}

Semantic roles & 50–950 ramp

primary
#EB7CD9
secondary
#D2F1D7
accent
#D63010
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171015
muted
#857F84

Preview Lab

Preview with #EB7CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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