#CE9CFB#CE9CFB

#CE9CFB is a light, vivid violet. Relative luminance 0.439; OKLCH L 77.4% C 0.141 H 307.6°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#CE9CFB
RGBrgb(206, 156, 251)
HSLhsl(272, 92%, 80%)
HSVhsv(272, 38%, 98%)
CMYKcmyk(17.9%, 37.8%, 0%, 1.6%)
CIE-LABlab(72.14, 36.12, -40.37)
CIE-LCHlch(72.14, 54.17, 311.82°)
OKLaboklab(77.43% 0.086 -0.1118)
OKLCHoklch(77.43% 0.141 307.6)
XYZxyz(54.7513, 43.8643, 96.8304)
Luminance0.4386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE9CFB #C9FB9C
analogous
#9F9CFB #CE9CFB #FB9CF8
triadic
#CE9CFB #FBCE9C #9CFBCE
tetradic
#CE9CFB #FB9F9C #C9FB9C #9CF8FB
square
#CE9CFB #FB9F9C #C9FB9C #9CF8FB
split-complementary
#CE9CFB #F8FB9C #9CFB9F
monochromatic
#9426F6 #B161F9 #CE9CFB #EBD7FD #F0E2FE

Accessibility & contrast

On white

2.15
#CE9CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#CE9CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE9CFB
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE9CFB#FFFFFF#000000##000000
##CE9CFB1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AFFF
Deuteranopia (green-blind)
#93B1F8
Tritanopia (blue-blind)
#C8AAC0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ce9cfb;
/* rgb */ color: rgb(206, 156, 251);
/* oklch */ color: oklch(77.4% 0.141 307.6);
Tailwind
colors: {
  custom: {
    50: '#debafd',
    500: '#ce9cfb',
    950: '#000000',
  },
}
SCSS
$custom: #ce9cfb;
$custom-light: #debafd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce9cfb",
  "rgb": {
    "r": 206,
    "g": 156,
    "b": 251
  },
  "hsl": {
    "h": 271.579,
    "s": 92.233,
    "l": 79.804
  },
  "oklch": {
    "l": 0.77428,
    "c": 0.14105,
    "h": 307.6
  },
  "luminance": 0.43864
}

Semantic roles & 50–950 ramp

primary
#CE9CFB
secondary
#E5F6D5
accent
#E6006D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CE9CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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