#ED5DF2#ED5DF2

#ED5DF2 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.7% C 0.243 H 326.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#ED5DF2
RGBrgb(237, 93, 242)
HSLhsl(298, 85%, 66%)
HSVhsv(298, 62%, 95%)
CMYKcmyk(2.1%, 61.6%, 0%, 5.1%)
CIE-LABlab(63.55, 73.44, -48.67)
CIE-LCHlch(63.55, 88.10, 326.47°)
OKLaboklab(71.71% 0.2026 -0.1347)
OKLCHoklch(71.71% 0.243 326.4)
XYZxyz(54.8654, 32.2475, 87.3217)
Luminance0.3224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED5DF2 #62F25D
analogous
#A35DF2 #ED5DF2 #F25DAC
triadic
#ED5DF2 #F2ED5D #5DF2ED
tetradic
#ED5DF2 #F2A35D #62F25D #5DACF2
square
#ED5DF2 #F2A35D #62F25D #5DACF2
split-complementary
#ED5DF2 #ACF25D #5DF2A3
monochromatic
#BF10C5 #E724ED #ED5DF2 #F396F7 #FACEFB

Accessibility & contrast

On white

2.82
#ED5DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#ED5DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED5DF2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED5DF2#FFFFFF#000000##000000
##ED5DF21.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#7CA0EE
Tritanopia (blue-blind)
#F371A0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ed5df2;
/* rgb */ color: rgb(237, 93, 242);
/* oklch */ color: oklch(71.7% 0.243 326.4);
Tailwind
colors: {
  custom: {
    50: '#f694f7',
    500: '#ed5df2',
    950: '#000000',
  },
}
SCSS
$custom: #ed5df2;
$custom-light: #f694f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ed5df2",
  "rgb": {
    "r": 237,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 297.987,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.71706,
    "c": 0.24324,
    "h": 326.4
  },
  "luminance": 0.32244
}

Semantic roles & 50–950 ramp

primary
#ED5DF2
secondary
#BEEEBD
accent
#E2040B
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #ED5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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