#CDB5DF#CDB5DF

#CDB5DF is a light, moderate violet. Relative luminance 0.514; OKLCH L 80.7% C 0.064 H 310.6°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#CDB5DF
RGBrgb(205, 181, 223)
HSLhsl(274, 40%, 79%)
HSVhsv(274, 19%, 87%)
CMYKcmyk(8.1%, 18.8%, 0%, 12.5%)
CIE-LABlab(76.89, 16.30, -17.88)
CIE-LCHlch(76.89, 24.19, 312.35°)
OKLaboklab(80.71% 0.0414 -0.0483)
OKLCHoklch(80.71% 0.064 310.6)
XYZxyz(55.0177, 51.3550, 76.8118)
Luminance0.5135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB5DF #C7DFB5
analogous
#B8B5DF #CDB5DF #DFB5DC
triadic
#CDB5DF #DFCDB5 #B5DFCD
tetradic
#CDB5DF #DFB8B5 #C7DFB5 #B5DCDF
square
#CDB5DF #DFB8B5 #C7DFB5 #B5DCDF
split-complementary
#CDB5DF #DCDFB5 #B5DFB8
monochromatic
#9360BA #B08ACD #CDB5DF #EAE0F1 #F1EAF6

Accessibility & contrast

On white

1.86
#CDB5DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#CDB5DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB5DF
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB5DF#FFFFFF#000000##000000
##CDB5DF1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFBDE1
Deuteranopia (green-blind)
#B4BEDE
Tritanopia (blue-blind)
#CBBAC3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdb5df;
/* rgb */ color: rgb(205, 181, 223);
/* oklch */ color: oklch(80.7% 0.064 310.6);
Tailwind
colors: {
  custom: {
    50: '#dccbe9',
    500: '#cdb5df',
    950: '#000000',
  },
}
SCSS
$custom: #cdb5df;
$custom-light: #dccbe9;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb5df",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 223
  },
  "hsl": {
    "h": 274.286,
    "s": 39.623,
    "l": 79.216
  },
  "oklch": {
    "l": 0.80705,
    "c": 0.06366,
    "h": 310.6
  },
  "luminance": 0.51355
}

Semantic roles & 50–950 ramp

primary
#CDB5DF
secondary
#98B881
accent
#B3336A
background
#FEFDFE
surface
#FCF9FC
border
#D5D2D5
text
#151316
muted
#848284

Preview Lab

Preview with #CDB5DF

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

Preview Lab → · Contrast checker → · Palette generator →

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