#ED5FF2#ED5FF2

#ED5FF2 is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.9% C 0.241 H 326.3°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#ED5FF2
RGBrgb(237, 95, 242)
HSLhsl(298, 85%, 66%)
HSVhsv(298, 61%, 95%)
CMYKcmyk(2.1%, 60.7%, 0%, 5.1%)
CIE-LABlab(63.84, 72.63, -48.21)
CIE-LCHlch(63.84, 87.18, 326.43°)
OKLaboklab(71.92% 0.2003 -0.1333)
OKLCHoklch(71.92% 0.241 326.3)
XYZxyz(55.0432, 32.6032, 87.3810)
Luminance0.3260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED5FF2 #64F25F
analogous
#A35FF2 #ED5FF2 #F25FAD
triadic
#ED5FF2 #F2ED5F #5FF2ED
tetradic
#ED5FF2 #F2A35F #64F25F #5FADF2
square
#ED5FF2 #F2A35F #64F25F #5FADF2
split-complementary
#ED5FF2 #ADF25F #5FF2A3
monochromatic
#C010C6 #E726ED #ED5FF2 #F398F7 #FAD0FB

Accessibility & contrast

On white

2.79
#ED5FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#ED5FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED5FF2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED5FF2#FFFFFF#000000##000000
##ED5FF21.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#498FF6
Deuteranopia (green-blind)
#7EA1EE
Tritanopia (blue-blind)
#F373A0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ed5ff2;
/* rgb */ color: rgb(237, 95, 242);
/* oklch */ color: oklch(71.9% 0.241 326.3);
Tailwind
colors: {
  custom: {
    50: '#f695f7',
    500: '#ed5ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ed5ff2;
$custom-light: #f695f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ed5ff2",
  "rgb": {
    "r": 237,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 297.959,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.71918,
    "c": 0.24062,
    "h": 326.3
  },
  "luminance": 0.326
}

Semantic roles & 50–950 ramp

primary
#ED5FF2
secondary
#C0EFBE
accent
#E1040C
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #ED5FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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