#ED8DF8#ED8DF8

#ED8DF8 is a light, vivid purple. Relative luminance 0.438; OKLCH L 78.1% C 0.177 H 323.3°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#ED8DF8
RGBrgb(237, 141, 248)
HSLhsl(294, 88%, 76%)
HSVhsv(294, 43%, 97%)
CMYKcmyk(4.4%, 43.1%, 0%, 2.7%)
CIE-LABlab(72.12, 52.39, -38.52)
CIE-LCHlch(72.12, 65.03, 323.67°)
OKLaboklab(78.11% 0.1419 -0.1058)
OKLCHoklch(78.11% 0.177 323.3)
XYZxyz(61.3915, 43.8341, 94.0158)
Luminance0.4383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED8DF8 #98F88D
analogous
#B88DF8 #ED8DF8 #F88DCE
triadic
#ED8DF8 #F8ED8D #8DF8ED
tetradic
#ED8DF8 #F8B88D #98F88D #8DCEF8
square
#ED8DF8 #F8B88D #98F88D #8DCEF8
split-complementary
#ED8DF8 #CEF88D #8DF8B8
monochromatic
#DB1AF1 #E453F4 #ED8DF8 #F6C7FC #FAE2FD

Accessibility & contrast

On white

2.15
#ED8DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#ED8DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED8DF8
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED8DF8#FFFFFF#000000##000000
##ED8DF81.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFC
Deuteranopia (green-blind)
#9BB5F5
Tritanopia (blue-blind)
#F099B7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ed8df8;
/* rgb */ color: rgb(237, 141, 248);
/* oklch */ color: oklch(78.1% 0.177 323.3);
Tailwind
colors: {
  custom: {
    50: '#f5b1fb',
    500: '#ed8df8',
    950: '#000000',
  },
}
SCSS
$custom: #ed8df8;
$custom-light: #f5b1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ed8df8",
  "rgb": {
    "r": 237,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 293.832,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78105,
    "c": 0.17698,
    "h": 323.3
  },
  "luminance": 0.43832
}

Semantic roles & 50–950 ramp

primary
#ED8DF8
secondary
#D9F5D6
accent
#E50018
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #ED8DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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