#CDB7FD#CDB7FD

#CDB7FD is a very light, moderate violet. Relative luminance 0.539; OKLCH L 82.2% C 0.099 H 298.6°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#CDB7FD
RGBrgb(205, 183, 253)
HSLhsl(259, 95%, 85%)
HSVhsv(259, 28%, 99%)
CMYKcmyk(19%, 27.7%, 0%, 0.8%)
CIE-LABlab(78.43, 21.52, -31.71)
CIE-LCHlch(78.43, 38.33, 304.16°)
OKLaboklab(82.23% 0.0476 -0.0872)
OKLCHoklch(82.23% 0.099 298.6)
XYZxyz(59.8361, 53.9377, 100.1681)
Luminance0.5394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB7FD #E7FDB7
analogous
#B7C4FD #CDB7FD #F0B7FD
triadic
#CDB7FD #FDCDB7 #B7FDCD
tetradic
#CDB7FD #FDB7C4 #E7FDB7 #B7FDF0
square
#CDB7FD #FDB7C4 #E7FDB7 #B7FDF0
split-complementary
#CDB7FD #FDF0B7 #C4FDB7
monochromatic
#7A40FA #A47BFB #CDB7FD #EAE1FE #EAE1FE

Accessibility & contrast

On white

1.78
#CDB7FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#CDB7FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB7FD
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB7FD#FFFFFF#000000##000000
##CDB7FD1.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8C2FF
Deuteranopia (green-blind)
#ABC1FB
Tritanopia (blue-blind)
#C4C2D0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdb7fd;
/* rgb */ color: rgb(205, 183, 253);
/* oklch */ color: oklch(82.2% 0.099 298.6);
Tailwind
colors: {
  custom: {
    50: '#ddccfe',
    500: '#cdb7fd',
    950: '#000000',
  },
}
SCSS
$custom: #cdb7fd;
$custom-light: #ddccfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb7fd",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 253
  },
  "hsl": {
    "h": 258.857,
    "s": 94.595,
    "l": 85.49
  },
  "oklch": {
    "l": 0.82233,
    "c": 0.09932,
    "h": 298.6
  },
  "luminance": 0.53938
}

Semantic roles & 50–950 ramp

primary
#CDB7FD
secondary
#C0E375
accent
#E6009D
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #CDB7FD

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

Preview Lab → · Contrast checker → · Palette generator →

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