#CDB6EF#CDB6EF

#CDB6EF is a light, moderate violet. Relative luminance 0.527; OKLCH L 81.5% C 0.083 H 303.0°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CDB6EF
RGBrgb(205, 182, 239)
HSLhsl(264, 64%, 83%)
HSVhsv(264, 24%, 94%)
CMYKcmyk(14.2%, 23.8%, 0%, 6.3%)
CIE-LABlab(77.68, 19.05, -25.33)
CIE-LCHlch(77.68, 31.69, 306.94°)
OKLaboklab(81.49% 0.045 -0.0692)
OKLCHoklch(81.49% 0.083 303)
XYZxyz(57.4817, 52.6671, 88.7821)
Luminance0.5267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB6EF #D8EFB6
analogous
#B6BBEF #CDB6EF #EAB6EF
triadic
#CDB6EF #EFCDB6 #B6EFCD
tetradic
#CDB6EF #EFB6BB #D8EFB6 #B6EFEA
square
#CDB6EF #EFB6BB #D8EFB6 #B6EFEA
split-complementary
#CDB6EF #EFEAB6 #BBEFB6
monochromatic
#8852D9 #AB84E4 #CDB6EF #EEE6F9 #EEE6F9

Accessibility & contrast

On white

1.82
#CDB6EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#CDB6EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB6EF
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB6EF#FFFFFF#000000##000000
##CDB6EF1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABBFF1
Deuteranopia (green-blind)
#AFC0ED
Tritanopia (blue-blind)
#C8BECA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdb6ef;
/* rgb */ color: rgb(205, 182, 239);
/* oklch */ color: oklch(81.5% 0.083 303.0);
Tailwind
colors: {
  custom: {
    50: '#dcccf4',
    500: '#cdb6ef',
    950: '#000000',
  },
}
SCSS
$custom: #cdb6ef;
$custom-light: #dcccf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb6ef",
  "rgb": {
    "r": 205,
    "g": 182,
    "b": 239
  },
  "hsl": {
    "h": 264.211,
    "s": 64.045,
    "l": 82.549
  },
  "oklch": {
    "l": 0.8149,
    "c": 0.0825,
    "h": 303
  },
  "luminance": 0.52667
}

Semantic roles & 50–950 ramp

primary
#CDB6EF
secondary
#ACCD7C
accent
#CC1A84
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151317
muted
#848385

Preview Lab

Preview with #CDB6EF

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

Preview Lab → · Contrast checker → · Palette generator →

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