#CDB7F7#CDB7F7

#CDB7F7 is a light, moderate violet. Relative luminance 0.536; OKLCH L 82.0% C 0.091 H 300.2°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#CDB7F7
RGBrgb(205, 183, 247)
HSLhsl(261, 80%, 84%)
HSVhsv(261, 26%, 97%)
CMYKcmyk(17%, 25.9%, 0%, 3.1%)
CIE-LABlab(78.21, 20.21, -28.83)
CIE-LCHlch(78.21, 35.21, 305.03°)
OKLaboklab(81.99% 0.0459 -0.079)
OKLCHoklch(81.99% 0.091 300.2)
XYZxyz(58.8953, 53.5614, 95.2133)
Luminance0.5356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB7F7 #E1F7B7
analogous
#B7C1F7 #CDB7F7 #EDB7F7
triadic
#CDB7F7 #F7CDB7 #B7F7CD
tetradic
#CDB7F7 #F7B7C1 #E1F7B7 #B7F7ED
square
#CDB7F7 #F7B7C1 #E1F7B7 #B7F7ED
split-complementary
#CDB7F7 #F7EDB7 #C1F7B7
monochromatic
#8149EB #A780F1 #CDB7F7 #ECE3FC #ECE3FC

Accessibility & contrast

On white

1.79
#CDB7F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#CDB7F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB7F7
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB7F7#FFFFFF#000000##000000
##CDB7F71.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAC1FA
Deuteranopia (green-blind)
#ADC1F5
Tritanopia (blue-blind)
#C6C0CD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdb7f7;
/* rgb */ color: rgb(205, 183, 247);
/* oklch */ color: oklch(82.0% 0.091 300.2);
Tailwind
colors: {
  custom: {
    50: '#ddccfa',
    500: '#cdb7f7',
    950: '#000000',
  },
}
SCSS
$custom: #cdb7f7;
$custom-light: #ddccfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb7f7",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 247
  },
  "hsl": {
    "h": 260.625,
    "s": 80,
    "l": 84.314
  },
  "oklch": {
    "l": 0.81991,
    "c": 0.09138,
    "h": 300.2
  },
  "luminance": 0.53562
}

Semantic roles & 50–950 ramp

primary
#CDB7F7
secondary
#B8D979
accent
#DC0994
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #CDB7F7

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

Preview Lab → · Contrast checker → · Palette generator →

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