#CDB7DF#CDB7DF

#CDB7DF is a light, moderate violet. Relative luminance 0.522; OKLCH L 81.1% C 0.060 H 309.7°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#CDB7DF
RGBrgb(205, 183, 223)
HSLhsl(273, 38%, 80%)
HSVhsv(273, 18%, 87%)
CMYKcmyk(8.1%, 17.9%, 0%, 12.5%)
CIE-LABlab(77.38, 15.21, -17.14)
CIE-LCHlch(77.38, 22.91, 311.59°)
OKLaboklab(81.09% 0.0385 -0.0463)
OKLCHoklch(81.09% 0.06 309.7)
XYZxyz(55.4273, 52.1742, 76.9484)
Luminance0.5217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB7DF #C9DFB7
analogous
#B9B7DF #CDB7DF #DFB7DD
triadic
#CDB7DF #DFCDB7 #B7DFCD
tetradic
#CDB7DF #DFB9B7 #C9DFB7 #B7DDDF
square
#CDB7DF #DFB9B7 #C9DFB7 #B7DDDF
split-complementary
#CDB7DF #DDDFB7 #B7DFB9
monochromatic
#9262B9 #B08DCC #CDB7DF #EAE1F2 #F0EAF6

Accessibility & contrast

On white

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

On black

11.43
#CDB7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB7DF
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB7DF#FFFFFF#000000##000000
##CDB7DF1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1BEE1
Deuteranopia (green-blind)
#B5C0DE
Tritanopia (blue-blind)
#CBBCC4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdb7df;
/* rgb */ color: rgb(205, 183, 223);
/* oklch */ color: oklch(81.1% 0.060 309.7);
Tailwind
colors: {
  custom: {
    50: '#dccce9',
    500: '#cdb7df',
    950: '#000000',
  },
}
SCSS
$custom: #cdb7df;
$custom-light: #dccce9;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb7df",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 223
  },
  "hsl": {
    "h": 273,
    "s": 38.462,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81086,
    "c": 0.06022,
    "h": 309.7
  },
  "luminance": 0.52174
}

Semantic roles & 50–950 ramp

primary
#CDB7DF
secondary
#9AB783
accent
#B1346C
background
#FEFEFE
surface
#FCFAFC
border
#D5D3D5
text
#151316
muted
#848384

Preview Lab

Preview with #CDB7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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