#CDB7EC#CDB7EC

#CDB7EC is a light, moderate violet. Relative luminance 0.529; OKLCH L 81.6% C 0.077 H 303.7°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#CDB7EC
RGBrgb(205, 183, 236)
HSLhsl(265, 58%, 82%)
HSVhsv(265, 22%, 93%)
CMYKcmyk(13.1%, 22.5%, 0%, 7.5%)
CIE-LABlab(77.82, 17.87, -23.50)
CIE-LCHlch(77.82, 29.53, 307.25°)
OKLaboklab(81.56% 0.0426 -0.064)
OKLCHoklch(81.56% 0.077 303.7)
XYZxyz(57.2477, 52.9023, 86.5359)
Luminance0.5290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB7EC #D6ECB7
analogous
#B7BCEC #CDB7EC #E8B7EC
triadic
#CDB7EC #ECCDB7 #B7ECCD
tetradic
#CDB7EC #ECB7BC #D6ECB7 #B7ECE8
square
#CDB7EC #ECB7BC #D6ECB7 #B7ECE8
split-complementary
#CDB7EC #ECE8B7 #BCECB7
monochromatic
#8A56D2 #AB87DF #CDB7EC #EEE7F9 #EEE7F9

Accessibility & contrast

On white

1.81
#CDB7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#CDB7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB7EC
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB7EC#FFFFFF#000000##000000
##CDB7EC1.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADC0EE
Deuteranopia (green-blind)
#B1C0EA
Tritanopia (blue-blind)
#C8BEC9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdb7ec;
/* rgb */ color: rgb(205, 183, 236);
/* oklch */ color: oklch(81.6% 0.077 303.7);
Tailwind
colors: {
  custom: {
    50: '#dcccf2',
    500: '#cdb7ec',
    950: '#000000',
  },
}
SCSS
$custom: #cdb7ec;
$custom-light: #dcccf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb7ec",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 236
  },
  "hsl": {
    "h": 264.906,
    "s": 58.242,
    "l": 82.157
  },
  "oklch": {
    "l": 0.81563,
    "c": 0.07693,
    "h": 303.7
  },
  "luminance": 0.52902
}

Semantic roles & 50–950 ramp

primary
#CDB7EC
secondary
#AAC97E
accent
#C62081
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151317
muted
#848385

Preview Lab

Preview with #CDB7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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