#CE96FB#CE96FB

#CE96FB is a light, vivid violet. Relative luminance 0.419; OKLCH L 76.4% C 0.151 H 308.7°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#CE96FB
RGBrgb(206, 150, 251)
HSLhsl(273, 93%, 79%)
HSVhsv(273, 40%, 98%)
CMYKcmyk(17.9%, 40.2%, 0%, 1.6%)
CIE-LABlab(70.80, 39.38, -42.45)
CIE-LCHlch(70.80, 57.91, 312.85°)
OKLaboklab(76.42% 0.0944 -0.1177)
OKLCHoklch(76.42% 0.151 308.7)
XYZxyz(53.7693, 41.9002, 96.5030)
Luminance0.4190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE96FB #C3FB96
analogous
#9B96FB #CE96FB #FB96F6
triadic
#CE96FB #FBCE96 #96FBCE
tetradic
#CE96FB #FB9B96 #C3FB96 #96F6FB
square
#CE96FB #FB9B96 #C3FB96 #96F6FB
split-complementary
#CE96FB #F6FB96 #96FB9B
monochromatic
#9720F7 #B25BF9 #CE96FB #EAD1FD #F1E2FE

Accessibility & contrast

On white

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

On black

9.38
#CE96FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE96FB
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE96FB#FFFFFF#000000##000000
##CE96FB1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ce96fb;
/* rgb */ color: rgb(206, 150, 251);
/* oklch */ color: oklch(76.4% 0.151 308.7);
Tailwind
colors: {
  custom: {
    50: '#deb5fd',
    500: '#ce96fb',
    950: '#000000',
  },
}
SCSS
$custom: #ce96fb;
$custom-light: #deb5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce96fb",
  "rgb": {
    "r": 206,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 273.267,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76419,
    "c": 0.15092,
    "h": 308.7
  },
  "luminance": 0.419
}

Semantic roles & 50–950 ramp

primary
#CE96FB
secondary
#E4F6D5
accent
#E60066
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CE96FB

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

Preview Lab → · Contrast checker → · Palette generator →

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