#ED8EFE#ED8EFE

#ED8EFE is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.5% C 0.181 H 321.4°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#ED8EFE
RGBrgb(237, 142, 254)
HSLhsl(291, 98%, 78%)
HSVhsv(291, 44%, 100%)
CMYKcmyk(6.7%, 44.1%, 0%, 0.4%)
CIE-LABlab(72.57, 53.01, -41.08)
CIE-LCHlch(72.57, 67.06, 322.22°)
OKLaboklab(78.52% 0.1416 -0.1131)
OKLCHoklch(78.52% 0.181 321.4)
XYZxyz(62.4854, 44.5087, 99.0463)
Luminance0.4451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED8EFE #9FFE8E
analogous
#B58EFE #ED8EFE #FE8ED7
triadic
#ED8EFE #FEED8E #8EFEED
tetradic
#ED8EFE #FEB58E #9FFE8E #8ED7FE
square
#ED8EFE #FEB58E #9FFE8E #8ED7FE
split-complementary
#ED8EFE #D7FE8E #8EFEB5
monochromatic
#DA15FD #E351FD #ED8EFE #F7CBFF #FAE1FF

Accessibility & contrast

On white

2.12
#ED8EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#ED8EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED8EFE
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED8EFE#FFFFFF#000000##000000
##ED8EFE1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FABFF
Deuteranopia (green-blind)
#99B6FB
Tritanopia (blue-blind)
#EF9CBA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ed8efe;
/* rgb */ color: rgb(237, 142, 254);
/* oklch */ color: oklch(78.5% 0.181 321.4);
Tailwind
colors: {
  custom: {
    50: '#f5b1ff',
    500: '#ed8efe',
    950: '#000000',
  },
}
SCSS
$custom: #ed8efe;
$custom-light: #f5b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ed8efe",
  "rgb": {
    "r": 237,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 290.893,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.78523,
    "c": 0.18121,
    "h": 321.4
  },
  "luminance": 0.44506
}

Semantic roles & 50–950 ramp

primary
#ED8EFE
secondary
#D9F7D4
accent
#E60023
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #ED8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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