#EB7DF2#EB7DF2

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

Color values

HEX#EB7DF2
RGBrgb(235, 125, 242)
HSLhsl(296, 82%, 72%)
HSVhsv(296, 48%, 95%)
CMYKcmyk(2.9%, 48.3%, 0%, 5.1%)
CIE-LABlab(68.56, 58.67, -40.80)
CIE-LCHlch(68.56, 71.46, 325.18°)
OKLaboklab(75.33% 0.1606 -0.1122)
OKLCHoklch(75.33% 0.196 325)
XYZxyz(57.6202, 38.7431, 88.4303)
Luminance0.3874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7DF2 #84F27D
analogous
#B17DF2 #EB7DF2 #F27DBF
triadic
#EB7DF2 #F2EB7D #7DF2EB
tetradic
#EB7DF2 #F2B17D #84F27D #7DBFF2
square
#EB7DF2 #F2B17D #84F27D #7DBFF2
split-complementary
#EB7DF2 #BFF27D #7DF2B1
monochromatic
#D216DE #E245EC #EB7DF2 #F4B5F8 #FBE3FC

Accessibility & contrast

On white

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

On black

8.75
#EB7DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7DF2
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7DF2#FFFFFF#000000##000000
##EB7DF21.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9FF6
Deuteranopia (green-blind)
#90ACEF
Tritanopia (blue-blind)
#F08BAD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #eb7df2;
/* rgb */ color: rgb(235, 125, 242);
/* oklch */ color: oklch(75.3% 0.196 325.0);
Tailwind
colors: {
  custom: {
    50: '#f4a6f6',
    500: '#eb7df2',
    950: '#000000',
  },
}
SCSS
$custom: #eb7df2;
$custom-light: #f4a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7df2",
  "rgb": {
    "r": 235,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 296.41,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75328,
    "c": 0.19593,
    "h": 325
  },
  "luminance": 0.3874
}

Semantic roles & 50–950 ramp

primary
#EB7DF2
secondary
#D8F4D7
accent
#DE0714
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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