#CE96EB#CE96EB

#CE96EB is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.7% C 0.132 H 313.6°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#CE96EB
RGBrgb(206, 150, 235)
HSLhsl(280, 68%, 75%)
HSVhsv(280, 36%, 92%)
CMYKcmyk(12.3%, 36.2%, 0%, 7.8%)
CIE-LABlab(70.13, 35.99, -34.77)
CIE-LCHlch(70.13, 50.04, 315.99°)
OKLaboklab(75.69% 0.0911 -0.0957)
OKLCHoklch(75.69% 0.132 313.6)
XYZxyz(51.3529, 40.9336, 83.7769)
Luminance0.4093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE96EB #B3EB96
analogous
#A396EB #CE96EB #EB96DE
triadic
#CE96EB #EBCE96 #96EBCE
tetradic
#CE96EB #EBA396 #B3EB96 #96DEEB
square
#CE96EB #EBA396 #B3EB96 #96DEEB
split-complementary
#CE96EB #DEEB96 #96EBA3
monochromatic
#9E2FD7 #B663E1 #CE96EB #E6C9F5 #F3E5FA

Accessibility & contrast

On white

2.29
#CE96EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#CE96EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE96EB
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE96EB#FFFFFF#000000##000000
##CE96EB1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A8EE
Deuteranopia (green-blind)
#95ADE8
Tritanopia (blue-blind)
#CCA1B6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ce96eb;
/* rgb */ color: rgb(206, 150, 235);
/* oklch */ color: oklch(75.7% 0.132 313.6);
Tailwind
colors: {
  custom: {
    50: '#deb5f1',
    500: '#ce96eb',
    950: '#000000',
  },
}
SCSS
$custom: #ce96eb;
$custom-light: #deb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce96eb",
  "rgb": {
    "r": 206,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 279.529,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75689,
    "c": 0.13213,
    "h": 313.6
  },
  "luminance": 0.40933
}

Semantic roles & 50–950 ramp

primary
#CE96EB
secondary
#E2F2D9
accent
#D01655
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CE96EB

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

Preview Lab → · Contrast checker → · Palette generator →

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