#CDB9EC#CDB9EC

#CDB9EC is a light, moderate violet. Relative luminance 0.537; OKLCH L 81.9% C 0.074 H 302.7°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CDB9EC
RGBrgb(205, 185, 236)
HSLhsl(264, 57%, 83%)
HSVhsv(264, 22%, 93%)
CMYKcmyk(13.1%, 21.6%, 0%, 7.5%)
CIE-LABlab(78.31, 16.78, -22.76)
CIE-LCHlch(78.31, 28.28, 306.41°)
OKLaboklab(81.94% 0.0398 -0.062)
OKLCHoklch(81.94% 0.074 302.7)
XYZxyz(57.6632, 53.7332, 86.6743)
Luminance0.5373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB9EC #D8ECB9
analogous
#B9BFEC #CDB9EC #E6B9EC
triadic
#CDB9EC #ECCDB9 #B9ECCD
tetradic
#CDB9EC #ECB9BF #D8ECB9 #B9ECE6
square
#CDB9EC #ECB9BF #D8ECB9 #B9ECE6
split-complementary
#CDB9EC #ECE6B9 #BFECB9
monochromatic
#8859D2 #AB89DF #CDB9EC #EEE7F8 #EEE7F8

Accessibility & contrast

On white

1.79
#CDB9EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#CDB9EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB9EC
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB9EC#FFFFFF#000000##000000
##CDB9EC1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0C1EE
Deuteranopia (green-blind)
#B3C2EA
Tritanopia (blue-blind)
#C8C0CA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdb9ec;
/* rgb */ color: rgb(205, 185, 236);
/* oklch */ color: oklch(81.9% 0.074 302.7);
Tailwind
colors: {
  custom: {
    50: '#dccef2',
    500: '#cdb9ec',
    950: '#000000',
  },
}
SCSS
$custom: #cdb9ec;
$custom-light: #dccef2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb9ec",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 236
  },
  "hsl": {
    "h": 263.529,
    "s": 57.303,
    "l": 82.549
  },
  "oklch": {
    "l": 0.81941,
    "c": 0.07363,
    "h": 302.7
  },
  "luminance": 0.53733
}

Semantic roles & 50–950 ramp

primary
#CDB9EC
secondary
#ACC980
accent
#C52184
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151317
muted
#848385

Preview Lab

Preview with #CDB9EC

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

Preview Lab → · Contrast checker → · Palette generator →

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