#EB7DF1#EB7DF1

#EB7DF1 is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.3% C 0.195 H 325.4°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#EB7DF1
RGBrgb(235, 125, 241)
HSLhsl(297, 81%, 72%)
HSVhsv(297, 48%, 95%)
CMYKcmyk(2.5%, 48.1%, 0%, 5.5%)
CIE-LABlab(68.52, 58.49, -40.32)
CIE-LCHlch(68.52, 71.04, 325.42°)
OKLaboklab(75.28% 0.1604 -0.1109)
OKLCHoklch(75.28% 0.195 325.4)
XYZxyz(57.4704, 38.6831, 87.6415)
Luminance0.3868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7DF1 #83F17D
analogous
#B17DF1 #EB7DF1 #F17DBD
triadic
#EB7DF1 #F1EB7D #7DF1EB
tetradic
#EB7DF1 #F1B17D #83F17D #7DBDF1
square
#EB7DF1 #F1B17D #83F17D #7DBDF1
split-complementary
#EB7DF1 #BDF17D #7DF1B1
monochromatic
#D218DC #E346EB #EB7DF1 #F4B4F7 #FBE3FC

Accessibility & contrast

On white

2.40
#EB7DF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#EB7DF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7DF1
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7DF1#FFFFFF#000000##000000
##EB7DF11.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#709EF5
Deuteranopia (green-blind)
#91ACEE
Tritanopia (blue-blind)
#F08AAC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #eb7df1;
/* rgb */ color: rgb(235, 125, 241);
/* oklch */ color: oklch(75.3% 0.195 325.4);
Tailwind
colors: {
  custom: {
    50: '#f4a6f6',
    500: '#eb7df1',
    950: '#000000',
  },
}
SCSS
$custom: #eb7df1;
$custom-light: #f4a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7df1",
  "rgb": {
    "r": 235,
    "g": 125,
    "b": 241
  },
  "hsl": {
    "h": 296.897,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75282,
    "c": 0.19502,
    "h": 325.4
  },
  "luminance": 0.3868
}

Semantic roles & 50–950 ramp

primary
#EB7DF1
secondary
#D8F4D6
accent
#DD0914
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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