#CE9DEC#CE9DEC

#CE9DEC is a light, vivid violet. Relative luminance 0.433; OKLCH L 76.9% C 0.121 H 312.0°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#CE9DEC
RGBrgb(206, 157, 236)
HSLhsl(277, 68%, 77%)
HSVhsv(277, 33%, 93%)
CMYKcmyk(12.7%, 33.5%, 0%, 7.5%)
CIE-LABlab(71.75, 32.38, -32.80)
CIE-LCHlch(71.75, 46.09, 314.63°)
OKLaboklab(76.94% 0.0813 -0.0901)
OKLCHoklch(76.94% 0.121 312)
XYZxyz(52.6483, 43.2927, 84.9234)
Luminance0.4329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE9DEC #BBEC9D
analogous
#A79DEC #CE9DEC #EC9DE3
triadic
#CE9DEC #ECCE9D #9DECCE
tetradic
#CE9DEC #ECA79D #BBEC9D #9DE3EC
square
#CE9DEC #ECA79D #BBEC9D #9DE3EC
split-complementary
#CE9DEC #E3EC9D #9DECA7
monochromatic
#9B36D8 #B46AE2 #CE9DEC #E8D0F6 #F2E5FA

Accessibility & contrast

On white

2.17
#CE9DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#CE9DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE9DEC
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE9DEC#FFFFFF#000000##000000
##CE9DEC1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADEF
Deuteranopia (green-blind)
#9BB1EA
Tritanopia (blue-blind)
#CBA8BA
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ce9dec;
/* rgb */ color: rgb(206, 157, 236);
/* oklch */ color: oklch(76.9% 0.121 312.0);
Tailwind
colors: {
  custom: {
    50: '#debaf2',
    500: '#ce9dec',
    950: '#000000',
  },
}
SCSS
$custom: #ce9dec;
$custom-light: #debaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce9dec",
  "rgb": {
    "r": 206,
    "g": 157,
    "b": 236
  },
  "hsl": {
    "h": 277.215,
    "s": 67.521,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76935,
    "c": 0.12135,
    "h": 312
  },
  "luminance": 0.43292
}

Semantic roles & 50–950 ramp

primary
#CE9DEC
secondary
#E3F2D9
accent
#CF165C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CE9DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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