#CE96FC#CE96FC

#CE96FC is a light, vivid violet. Relative luminance 0.420; OKLCH L 76.5% C 0.152 H 308.5°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#CE96FC
RGBrgb(206, 150, 252)
HSLhsl(273, 94%, 79%)
HSVhsv(273, 40%, 99%)
CMYKcmyk(18.3%, 40.5%, 0%, 1.2%)
CIE-LABlab(70.85, 39.59, -42.93)
CIE-LCHlch(70.85, 58.40, 312.69°)
OKLaboklab(76.47% 0.0946 -0.1191)
OKLCHoklch(76.47% 0.152 308.5)
XYZxyz(53.9273, 41.9634, 97.3354)
Luminance0.4196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE96FC #C4FC96
analogous
#9B96FC #CE96FC #FC96F7
triadic
#CE96FC #FCCE96 #96FCCE
tetradic
#CE96FC #FC9B96 #C4FC96 #96F7FC
square
#CE96FC #FC9B96 #C4FC96 #96F7FC
split-complementary
#CE96FC #F7FC96 #96FC9B
monochromatic
#961FF9 #B25BFA #CE96FC #EAD2FE #F1E1FE

Accessibility & contrast

On white

2.24
#CE96FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#CE96FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE96FC
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE96FC#FFFFFF#000000##000000
##CE96FC1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#8DAEF9
Tritanopia (blue-blind)
#C8A6BD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ce96fc;
/* rgb */ color: rgb(206, 150, 252);
/* oklch */ color: oklch(76.5% 0.152 308.5);
Tailwind
colors: {
  custom: {
    50: '#deb6fd',
    500: '#ce96fc',
    950: '#000000',
  },
}
SCSS
$custom: #ce96fc;
$custom-light: #deb6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce96fc",
  "rgb": {
    "r": 206,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 272.941,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76466,
    "c": 0.15211,
    "h": 308.5
  },
  "luminance": 0.41963
}

Semantic roles & 50–950 ramp

primary
#CE96FC
secondary
#E4F6D5
accent
#E60068
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CE96FC

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

Preview Lab → · Contrast checker → · Palette generator →

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