#CE9DFB#CE9DFB

#CE9DFB is a light, vivid violet. Relative luminance 0.442; OKLCH L 77.6% C 0.139 H 307.4°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#CE9DFB
RGBrgb(206, 157, 251)
HSLhsl(271, 92%, 80%)
HSVhsv(271, 37%, 98%)
CMYKcmyk(17.9%, 37.5%, 0%, 1.6%)
CIE-LABlab(72.36, 35.58, -40.02)
CIE-LCHlch(72.36, 53.55, 311.64°)
OKLaboklab(77.6% 0.0846 -0.1108)
OKLCHoklch(77.6% 0.139 307.4)
XYZxyz(54.9198, 44.2013, 96.8866)
Luminance0.4420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE9DFB #CAFB9D
analogous
#9F9DFB #CE9DFB #FB9DF9
triadic
#CE9DFB #FBCE9D #9DFBCE
tetradic
#CE9DFB #FB9F9D #CAFB9D #9DF9FB
square
#CE9DFB #FB9F9D #CAFB9D #9DF9FB
split-complementary
#CE9DFB #F9FB9D #9DFB9F
monochromatic
#9327F6 #B162F9 #CE9DFB #EBD8FD #F0E2FE

Accessibility & contrast

On white

2.13
#CE9DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#CE9DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE9DFB
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE9DFB#FFFFFF#000000##000000
##CE9DFB1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#94B2F8
Tritanopia (blue-blind)
#C8ABC0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ce9dfb;
/* rgb */ color: rgb(206, 157, 251);
/* oklch */ color: oklch(77.6% 0.139 307.4);
Tailwind
colors: {
  custom: {
    50: '#debafd',
    500: '#ce9dfb',
    950: '#000000',
  },
}
SCSS
$custom: #ce9dfb;
$custom-light: #debafd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce9dfb",
  "rgb": {
    "r": 206,
    "g": 157,
    "b": 251
  },
  "hsl": {
    "h": 271.277,
    "s": 92.157,
    "l": 80
  },
  "oklch": {
    "l": 0.77598,
    "c": 0.13941,
    "h": 307.4
  },
  "luminance": 0.44201
}

Semantic roles & 50–950 ramp

primary
#CE9DFB
secondary
#E5F6D5
accent
#E6006E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CE9DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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