#ED8AEC#ED8AEC

#ED8AEC is a light, vivid purple. Relative luminance 0.422; OKLCH L 77.1% C 0.171 H 327.4°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#ED8AEC
RGBrgb(237, 138, 236)
HSLhsl(301, 73%, 74%)
HSVhsv(301, 42%, 93%)
CMYKcmyk(0%, 41.8%, 0.4%, 7.1%)
CIE-LABlab(71.04, 51.73, -33.64)
CIE-LCHlch(71.04, 61.71, 326.96°)
OKLaboklab(77.14% 0.1438 -0.0918)
OKLCHoklch(77.14% 0.171 327.4)
XYZxyz(59.1528, 42.2405, 84.3780)
Luminance0.4224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED8AEC #8AED8B
analogous
#BC8AED #ED8AEC #ED8ABA
triadic
#ED8AEC #ECED8A #8AECED
tetradic
#ED8AEC #EDBC8A #8AED8B #8ABAED
square
#ED8AEC #EDBC8A #8AED8B #8ABAED
split-complementary
#ED8AEC #BAED8A #8AEDBC
monochromatic
#DB22D9 #E555E3 #ED8AEC #F5BFF5 #FBE4FB

Accessibility & contrast

On white

2.22
#ED8AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#ED8AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED8AEC
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED8AEC#FFFFFF#000000##000000
##ED8AEC1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6EF
Deuteranopia (green-blind)
#9DB2E9
Tritanopia (blue-blind)
#F394B0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ed8aec;
/* rgb */ color: rgb(237, 138, 236);
/* oklch */ color: oklch(77.1% 0.171 327.4);
Tailwind
colors: {
  custom: {
    50: '#f4aef2',
    500: '#ed8aec',
    950: '#000000',
  },
}
SCSS
$custom: #ed8aec;
$custom-light: #f4aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#ed8aec",
  "rgb": {
    "r": 237,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 300.606,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77137,
    "c": 0.17062,
    "h": 327.4
  },
  "luminance": 0.42238
}

Semantic roles & 50–950 ramp

primary
#ED8AEC
secondary
#D8F3D9
accent
#D51210
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171017
muted
#857F85

Preview Lab

Preview with #ED8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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