#CE96DF#CE96DF

#CE96DF is a light, moderate purple. Relative luminance 0.403; OKLCH L 75.2% C 0.118 H 318.2°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#CE96DF
RGBrgb(206, 150, 223)
HSLhsl(286, 53%, 73%)
HSVhsv(286, 33%, 87%)
CMYKcmyk(7.6%, 32.7%, 0%, 12.5%)
CIE-LABlab(69.66, 33.55, -28.91)
CIE-LCHlch(69.66, 44.28, 319.25°)
OKLaboklab(75.18% 0.0883 -0.079)
OKLCHoklch(75.18% 0.118 318.2)
XYZxyz(49.6774, 40.2634, 74.9524)
Luminance0.4026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE96DF #A7DF96
analogous
#A996DF #CE96DF #DF96CC
triadic
#CE96DF #DFCE96 #96DFCE
tetradic
#CE96DF #DFA996 #A7DF96 #96CCDF
square
#CE96DF #DFA996 #A7DF96 #96CCDF
split-complementary
#CE96DF #CCDF96 #96DFA9
monochromatic
#A13BC0 #B867D1 #CE96DF #E4C5ED #F4E8F8

Accessibility & contrast

On white

2.32
#CE96DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#CE96DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE96DF
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE96DF#FFFFFF#000000##000000
##CE96DF1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA6E2
Deuteranopia (green-blind)
#9AACDD
Tritanopia (blue-blind)
#CE9FB1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ce96df;
/* rgb */ color: rgb(206, 150, 223);
/* oklch */ color: oklch(75.2% 0.118 318.2);
Tailwind
colors: {
  custom: {
    50: '#deb5e9',
    500: '#ce96df',
    950: '#000000',
  },
}
SCSS
$custom: #ce96df;
$custom-light: #deb5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ce96df",
  "rgb": {
    "r": 206,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 286.027,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75175,
    "c": 0.11846,
    "h": 318.2
  },
  "luminance": 0.40262
}

Semantic roles & 50–950 ramp

primary
#CE96DF
secondary
#E0EFDC
accent
#C12549
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CE96DF

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

Preview Lab → · Contrast checker → · Palette generator →

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