#CE96EC#CE96EC

#CE96EC is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.7% C 0.133 H 313.3°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#CE96EC
RGBrgb(206, 150, 236)
HSLhsl(279, 69%, 76%)
HSVhsv(279, 36%, 93%)
CMYKcmyk(12.7%, 36.4%, 0%, 7.5%)
CIE-LABlab(70.17, 36.20, -35.25)
CIE-LCHlch(70.17, 50.53, 315.76°)
OKLaboklab(75.73% 0.0913 -0.0971)
OKLCHoklch(75.73% 0.133 313.3)
XYZxyz(51.4978, 40.9916, 84.5399)
Luminance0.4099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE96EC #B4EC96
analogous
#A396EC #CE96EC #EC96DF
triadic
#CE96EC #ECCE96 #96ECCE
tetradic
#CE96EC #ECA396 #B4EC96 #96DFEC
square
#CE96EC #ECA396 #B4EC96 #96DFEC
split-complementary
#CE96EC #DFEC96 #96ECA3
monochromatic
#9E2ED9 #B662E3 #CE96EC #E6CAF5 #F3E5FA

Accessibility & contrast

On white

2.28
#CE96EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#CE96EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE96EC
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE96EC#FFFFFF#000000##000000
##CE96EC1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EF
Deuteranopia (green-blind)
#94ADE9
Tritanopia (blue-blind)
#CCA2B6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ce96ec;
/* rgb */ color: rgb(206, 150, 236);
/* oklch */ color: oklch(75.7% 0.133 313.3);
Tailwind
colors: {
  custom: {
    50: '#deb5f2',
    500: '#ce96ec',
    950: '#000000',
  },
}
SCSS
$custom: #ce96ec;
$custom-light: #deb5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce96ec",
  "rgb": {
    "r": 206,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 279.07,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75734,
    "c": 0.13329,
    "h": 313.3
  },
  "luminance": 0.40991
}

Semantic roles & 50–950 ramp

primary
#CE96EC
secondary
#E2F2D9
accent
#D11456
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CE96EC

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

Preview Lab → · Contrast checker → · Palette generator →

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