#ED8CF8#ED8CF8

#ED8CF8 is a light, vivid purple. Relative luminance 0.435; OKLCH L 78.0% C 0.179 H 323.3°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#ED8CF8
RGBrgb(237, 140, 248)
HSLhsl(294, 89%, 76%)
HSVhsv(294, 44%, 97%)
CMYKcmyk(4.4%, 43.5%, 0%, 2.7%)
CIE-LABlab(71.92, 52.90, -38.83)
CIE-LCHlch(71.92, 65.62, 323.72°)
OKLaboklab(77.96% 0.1433 -0.1067)
OKLCHoklch(77.96% 0.179 323.3)
XYZxyz(61.2447, 43.5406, 93.9668)
Luminance0.4354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED8CF8 #97F88C
analogous
#B78CF8 #ED8CF8 #F88CCD
triadic
#ED8CF8 #F8ED8C #8CF8ED
tetradic
#ED8CF8 #F8B78C #97F88C #8CCDF8
square
#ED8CF8 #F8B78C #97F88C #8CCDF8
split-complementary
#ED8CF8 #CDF88C #8CF8B7
monochromatic
#DB19F1 #E452F4 #ED8CF8 #F6C6FC #FAE2FD

Accessibility & contrast

On white

2.16
#ED8CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#ED8CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED8CF8
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED8CF8#FFFFFF#000000##000000
##ED8CF81.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FC
Deuteranopia (green-blind)
#9AB4F5
Tritanopia (blue-blind)
#F098B6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ed8cf8;
/* rgb */ color: rgb(237, 140, 248);
/* oklch */ color: oklch(78.0% 0.179 323.3);
Tailwind
colors: {
  custom: {
    50: '#f5b0fb',
    500: '#ed8cf8',
    950: '#000000',
  },
}
SCSS
$custom: #ed8cf8;
$custom-light: #f5b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ed8cf8",
  "rgb": {
    "r": 237,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 293.889,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77958,
    "c": 0.17861,
    "h": 323.3
  },
  "luminance": 0.43538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ED8CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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