#ED96FC#ED96FC

#ED96FC is a light, vivid purple. Relative luminance 0.468; OKLCH L 79.6% C 0.166 H 321.5°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#ED96FC
RGBrgb(237, 150, 252)
HSLhsl(291, 94%, 79%)
HSVhsv(291, 40%, 99%)
CMYKcmyk(6%, 40.5%, 0%, 1.2%)
CIE-LABlab(74.09, 48.54, -37.62)
CIE-LCHlch(74.09, 61.42, 322.22°)
OKLaboklab(79.64% 0.13 -0.1033)
OKLCHoklch(79.64% 0.166 321.5)
XYZxyz(63.4000, 46.8478, 97.7794)
Luminance0.4684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED96FC #A5FC96
analogous
#BA96FC #ED96FC #FC96D8
triadic
#ED96FC #FCED96 #96FCED
tetradic
#ED96FC #FCBA96 #A5FC96 #96D8FC
square
#ED96FC #FCBA96 #A5FC96 #96D8FC
split-complementary
#ED96FC #D8FC96 #96FCBA
monochromatic
#D91FF9 #E35BFA #ED96FC #F7D2FE #FAE1FE

Accessibility & contrast

On white

2.03
#ED96FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#ED96FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED96FC
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED96FC#FFFFFF#000000##000000
##ED96FC1.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#A0BAF9
Tritanopia (blue-blind)
#EFA2BD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ed96fc;
/* rgb */ color: rgb(237, 150, 252);
/* oklch */ color: oklch(79.6% 0.166 321.5);
Tailwind
colors: {
  custom: {
    50: '#f4b6fd',
    500: '#ed96fc',
    950: '#000000',
  },
}
SCSS
$custom: #ed96fc;
$custom-light: #f4b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ed96fc",
  "rgb": {
    "r": 237,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 291.176,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.79636,
    "c": 0.16606,
    "h": 321.5
  },
  "luminance": 0.46845
}

Semantic roles & 50–950 ramp

primary
#ED96FC
secondary
#DAF6D5
accent
#E60022
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #ED96FC

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

Preview Lab → · Contrast checker → · Palette generator →

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