#ED5AF2#ED5AF2

#ED5AF2 is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 71.4% C 0.247 H 326.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#ED5AF2
RGBrgb(237, 90, 242)
HSLhsl(298, 85%, 65%)
HSVhsv(298, 63%, 95%)
CMYKcmyk(2.1%, 62.8%, 0%, 5.1%)
CIE-LABlab(63.12, 74.63, -49.34)
CIE-LCHlch(63.12, 89.46, 326.53°)
OKLaboklab(71.4% 0.2059 -0.1366)
OKLCHoklch(71.4% 0.247 326.4)
XYZxyz(54.6072, 31.7311, 87.2357)
Luminance0.3173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED5AF2 #5FF25A
analogous
#A15AF2 #ED5AF2 #F25AAB
triadic
#ED5AF2 #F2ED5A #5AF2ED
tetradic
#ED5AF2 #F2A15A #5FF25A #5AABF2
square
#ED5AF2 #F2A15A #5FF25A #5AABF2
split-complementary
#ED5AF2 #ABF25A #5AF2A1
monochromatic
#BC0FC2 #E721EE #ED5AF2 #F393F6 #F9CBFB

Accessibility & contrast

On white

2.86
#ED5AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#ED5AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED5AF2
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED5AF2#FFFFFF#000000##000000
##ED5AF21.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#428DF7
Deuteranopia (green-blind)
#7B9FEE
Tritanopia (blue-blind)
#F36F9F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ed5af2;
/* rgb */ color: rgb(237, 90, 242);
/* oklch */ color: oklch(71.4% 0.247 326.4);
Tailwind
colors: {
  custom: {
    50: '#f692f7',
    500: '#ed5af2',
    950: '#000000',
  },
}
SCSS
$custom: #ed5af2;
$custom-light: #f692f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ed5af2",
  "rgb": {
    "r": 237,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 298.026,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.71397,
    "c": 0.24707,
    "h": 326.4
  },
  "luminance": 0.31728
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ED5AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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