#CE96EF#CE96EF

#CE96EF is a light, vivid violet. Relative luminance 0.412; OKLCH L 75.9% C 0.137 H 312.3°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#CE96EF
RGBrgb(206, 150, 239)
HSLhsl(278, 74%, 76%)
HSVhsv(278, 37%, 94%)
CMYKcmyk(13.8%, 37.2%, 0%, 6.3%)
CIE-LABlab(70.29, 36.82, -36.70)
CIE-LCHlch(70.29, 51.99, 315.09°)
OKLaboklab(75.87% 0.092 -0.1012)
OKLCHoklch(75.87% 0.137 312.3)
XYZxyz(51.9373, 41.1674, 86.8547)
Luminance0.4117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE96EF #B7EF96
analogous
#A296EF #CE96EF #EF96E4
triadic
#CE96EF #EFCE96 #96EFCE
tetradic
#CE96EF #EFA296 #B7EF96 #96E4EF
square
#CE96EF #EFA296 #B7EF96 #96E4EF
split-complementary
#CE96EF #E4EF96 #96EFA2
monochromatic
#9C2CDF #B561E7 #CE96EF #E7CBF7 #F3E4FB

Accessibility & contrast

On white

2.27
#CE96EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#CE96EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE96EF
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE96EF#FFFFFF#000000##000000
##CE96EF1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A9F2
Deuteranopia (green-blind)
#93ADEC
Tritanopia (blue-blind)
#CBA2B7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ce96ef;
/* rgb */ color: rgb(206, 150, 239);
/* oklch */ color: oklch(75.9% 0.137 312.3);
Tailwind
colors: {
  custom: {
    50: '#deb5f4',
    500: '#ce96ef',
    950: '#000000',
  },
}
SCSS
$custom: #ce96ef;
$custom-light: #deb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce96ef",
  "rgb": {
    "r": 206,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 277.753,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75867,
    "c": 0.13678,
    "h": 312.3
  },
  "luminance": 0.41166
}

Semantic roles & 50–950 ramp

primary
#CE96EF
secondary
#E2F3D8
accent
#D61059
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CE96EF

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

Preview Lab → · Contrast checker → · Palette generator →

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