#CDB7DB#CDB7DB

#CDB7DB is a light, muted violet. Relative luminance 0.520; OKLCH L 80.9% C 0.055 H 312.3°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#CDB7DB
RGBrgb(205, 183, 219)
HSLhsl(277, 33%, 79%)
HSVhsv(277, 16%, 86%)
CMYKcmyk(6.4%, 16.4%, 0%, 14.1%)
CIE-LABlab(77.26, 14.42, -15.16)
CIE-LCHlch(77.26, 20.92, 313.55°)
OKLaboklab(80.94% 0.0372 -0.0408)
OKLCHoklch(80.94% 0.055 312.3)
XYZxyz(54.8944, 51.9610, 74.1417)
Luminance0.5196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB7DB #C5DBB7
analogous
#BBB7DB #CDB7DB #DBB7D7
triadic
#CDB7DB #DBCDB7 #B7DBCD
tetradic
#CDB7DB #DBBBB7 #C5DBB7 #B7D7DB
square
#CDB7DB #DBBBB7 #C5DBB7 #B7D7DB
split-complementary
#CDB7DB #D7DBB7 #B7DBBB
monochromatic
#9465B2 #B18EC7 #CDB7DB #E9E0EF #F1EBF5

Accessibility & contrast

On white

1.84
#CDB7DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#CDB7DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB7DB
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB7DB#FFFFFF#000000##000000
##CDB7DB1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2BEDD
Deuteranopia (green-blind)
#B6BFDA
Tritanopia (blue-blind)
#CCBBC3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdb7db;
/* rgb */ color: rgb(205, 183, 219);
/* oklch */ color: oklch(80.9% 0.055 312.3);
Tailwind
colors: {
  custom: {
    50: '#dccce6',
    500: '#cdb7db',
    950: '#000000',
  },
}
SCSS
$custom: #cdb7db;
$custom-light: #dccce6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb7db",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 219
  },
  "hsl": {
    "h": 276.667,
    "s": 33.333,
    "l": 78.824
  },
  "oklch": {
    "l": 0.80945,
    "c": 0.05523,
    "h": 312.3
  },
  "luminance": 0.51961
}

Semantic roles & 50–950 ramp

primary
#CDB7DB
secondary
#96B284
accent
#AC3966
background
#FEFEFE
surface
#FCFAFC
border
#D5D3D5
text
#151315
muted
#848384

Preview Lab

Preview with #CDB7DB

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

Preview Lab → · Contrast checker → · Palette generator →

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