#CDB7EF#CDB7EF

#CDB7EF is a light, moderate violet. Relative luminance 0.531; OKLCH L 81.7% C 0.081 H 302.6°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#CDB7EF
RGBrgb(205, 183, 239)
HSLhsl(264, 64%, 83%)
HSVhsv(264, 23%, 94%)
CMYKcmyk(14.2%, 23.4%, 0%, 6.3%)
CIE-LABlab(77.92, 18.50, -24.96)
CIE-LCHlch(77.92, 31.07, 306.55°)
OKLaboklab(81.68% 0.0436 -0.0681)
OKLCHoklch(81.68% 0.081 302.6)
XYZxyz(57.6872, 53.0781, 88.8506)
Luminance0.5308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB7EF #D9EFB7
analogous
#B7BDEF #CDB7EF #E9B7EF
triadic
#CDB7EF #EFCDB7 #B7EFCD
tetradic
#CDB7EF #EFB7BD #D9EFB7 #B7EFE9
square
#CDB7EF #EFB7BD #D9EFB7 #B7EFE9
split-complementary
#CDB7EF #EFE9B7 #BDEFB7
monochromatic
#8753D9 #AA85E4 #CDB7EF #EEE6F9 #EEE6F9

Accessibility & contrast

On white

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

On black

11.62
#CDB7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB7EF
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB7EF#FFFFFF#000000##000000
##CDB7EF1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACC0F1
Deuteranopia (green-blind)
#B0C1ED
Tritanopia (blue-blind)
#C8BFCA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdb7ef;
/* rgb */ color: rgb(205, 183, 239);
/* oklch */ color: oklch(81.7% 0.081 302.6);
Tailwind
colors: {
  custom: {
    50: '#dcccf4',
    500: '#cdb7ef',
    950: '#000000',
  },
}
SCSS
$custom: #cdb7ef;
$custom-light: #dcccf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb7ef",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 239
  },
  "hsl": {
    "h": 263.571,
    "s": 63.636,
    "l": 82.745
  },
  "oklch": {
    "l": 0.81678,
    "c": 0.08085,
    "h": 302.6
  },
  "luminance": 0.53078
}

Semantic roles & 50–950 ramp

primary
#CDB7EF
secondary
#AECD7D
accent
#CB1A86
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151317
muted
#848385

Preview Lab

Preview with #CDB7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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