#ED8AFA#ED8AFA

#ED8AFA is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.8% C 0.184 H 322.8°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#ED8AFA
RGBrgb(237, 138, 250)
HSLhsl(293, 92%, 76%)
HSVhsv(293, 45%, 98%)
CMYKcmyk(5.2%, 44.8%, 0%, 2%)
CIE-LABlab(71.61, 54.27, -40.40)
CIE-LCHlch(71.61, 67.66, 323.34°)
OKLaboklab(77.76% 0.1464 -0.1111)
OKLCHoklch(77.76% 0.184 322.8)
XYZxyz(61.2670, 43.0862, 95.5132)
Luminance0.4308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED8AFA #97FA8A
analogous
#B58AFA #ED8AFA #FA8ACF
triadic
#ED8AFA #FAED8A #8AFAED
tetradic
#ED8AFA #FAB58A #97FA8A #8ACFFA
square
#ED8AFA #FAB58A #97FA8A #8ACFFA
split-complementary
#ED8AFA #CFFA8A #8AFAB5
monochromatic
#DB15F5 #E44FF7 #ED8AFA #F6C5FD #FAE2FE

Accessibility & contrast

On white

2.18
#ED8AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#ED8AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED8AFA
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED8AFA#FFFFFF#000000##000000
##ED8AFA1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FE
Deuteranopia (green-blind)
#98B3F7
Tritanopia (blue-blind)
#F097B6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ed8afa;
/* rgb */ color: rgb(237, 138, 250);
/* oklch */ color: oklch(77.8% 0.184 322.8);
Tailwind
colors: {
  custom: {
    50: '#f5affc',
    500: '#ed8afa',
    950: '#000000',
  },
}
SCSS
$custom: #ed8afa;
$custom-light: #f5affc;
$custom-dark: #000000;
JSON
{
  "hex": "#ed8afa",
  "rgb": {
    "r": 237,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 293.036,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77756,
    "c": 0.1838,
    "h": 322.8
  },
  "luminance": 0.43084
}

Semantic roles & 50–950 ramp

primary
#ED8AFA
secondary
#D9F6D5
accent
#E6001B
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#171117
muted
#858085

Preview Lab

Preview with #ED8AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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