#CDB7EB#CDB7EB

#CDB7EB is a light, moderate violet. Relative luminance 0.528; OKLCH L 81.5% C 0.076 H 304.0°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#CDB7EB
RGBrgb(205, 183, 235)
HSLhsl(265, 57%, 82%)
HSVhsv(265, 22%, 92%)
CMYKcmyk(12.8%, 22.1%, 0%, 7.8%)
CIE-LABlab(77.78, 17.66, -23.02)
CIE-LCHlch(77.78, 29.01, 307.50°)
OKLaboklab(81.53% 0.0423 -0.0627)
OKLCHoklch(81.53% 0.076 304)
XYZxyz(57.1028, 52.8444, 85.7728)
Luminance0.5284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB7EB #D5EBB7
analogous
#B7BBEB #CDB7EB #E7B7EB
triadic
#CDB7EB #EBCDB7 #B7EBCD
tetradic
#CDB7EB #EBB7BB #D5EBB7 #B7EBE7
square
#CDB7EB #EBB7BB #D5EBB7 #B7EBE7
split-complementary
#CDB7EB #EBE7B7 #BBEBB7
monochromatic
#8A57D0 #AC87DE #CDB7EB #EEE7F8 #EEE7F8

Accessibility & contrast

On white

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

On black

11.57
#CDB7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB7EB
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB7EB#FFFFFF#000000##000000
##CDB7EB1.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEC0ED
Deuteranopia (green-blind)
#B1C0E9
Tritanopia (blue-blind)
#C9BEC9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdb7eb;
/* rgb */ color: rgb(205, 183, 235);
/* oklch */ color: oklch(81.5% 0.076 304.0);
Tailwind
colors: {
  custom: {
    50: '#dcccf1',
    500: '#cdb7eb',
    950: '#000000',
  },
}
SCSS
$custom: #cdb7eb;
$custom-light: #dcccf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb7eb",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 235
  },
  "hsl": {
    "h": 265.385,
    "s": 56.522,
    "l": 81.961
  },
  "oklch": {
    "l": 0.81526,
    "c": 0.07562,
    "h": 304
  },
  "luminance": 0.52844
}

Semantic roles & 50–950 ramp

primary
#CDB7EB
secondary
#A9C77F
accent
#C4217F
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151316
muted
#848385

Preview Lab

Preview with #CDB7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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