#ED7DF8#ED7DF8

#ED7DF8 is a light, highly saturated purple. Relative luminance 0.394; OKLCH L 75.8% C 0.203 H 323.9°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#ED7DF8
RGBrgb(237, 125, 248)
HSLhsl(295, 90%, 73%)
HSVhsv(295, 50%, 97%)
CMYKcmyk(4.4%, 49.6%, 0%, 2.7%)
CIE-LABlab(69.08, 60.29, -43.27)
CIE-LCHlch(69.08, 74.21, 324.33°)
OKLaboklab(75.85% 0.1637 -0.1193)
OKLCHoklch(75.85% 0.203 323.9)
XYZxyz(59.2004, 39.4519, 93.2854)
Luminance0.3945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED7DF8 #88F87D
analogous
#AF7DF8 #ED7DF8 #F87DC5
triadic
#ED7DF8 #F8ED7D #7DF8ED
tetradic
#ED7DF8 #F8AF7D #88F87D #7DC5F8
square
#ED7DF8 #F8AF7D #88F87D #7DC5F8
split-complementary
#ED7DF8 #C5F87D #7DF8AF
monochromatic
#DA0DEE #E543F5 #ED7DF8 #F5B7FB #FBE2FD

Accessibility & contrast

On white

2.36
#ED7DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#ED7DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED7DF8
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED7DF8#FFFFFF#000000##000000
##ED7DF81.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FC
Deuteranopia (green-blind)
#8FADF4
Tritanopia (blue-blind)
#F18CAF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ed7df8;
/* rgb */ color: rgb(237, 125, 248);
/* oklch */ color: oklch(75.8% 0.203 323.9);
Tailwind
colors: {
  custom: {
    50: '#f5a6fb',
    500: '#ed7df8',
    950: '#000000',
  },
}
SCSS
$custom: #ed7df8;
$custom-light: #f5a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ed7df8",
  "rgb": {
    "r": 237,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 294.634,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75847,
    "c": 0.20253,
    "h": 323.9
  },
  "luminance": 0.39449
}

Semantic roles & 50–950 ramp

primary
#ED7DF8
secondary
#D8F6D5
accent
#E60015
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #ED7DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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