#CDB5FB#CDB5FB

#CDB5FB is a light, moderate violet. Relative luminance 0.530; OKLCH L 81.8% C 0.100 H 299.9°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#CDB5FB
RGBrgb(205, 181, 251)
HSLhsl(261, 90%, 85%)
HSVhsv(261, 28%, 98%)
CMYKcmyk(18.3%, 27.9%, 0%, 1.6%)
CIE-LABlab(77.87, 22.17, -31.49)
CIE-LCHlch(77.87, 38.52, 305.15°)
OKLaboklab(81.78% 0.0498 -0.0866)
OKLCHoklch(81.78% 0.1 299.9)
XYZxyz(59.1096, 52.9917, 98.3624)
Luminance0.5299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB5FB #E3FBB5
analogous
#B5C0FB #CDB5FB #F0B5FB
triadic
#CDB5FB #FBCDB5 #B5FBCD
tetradic
#CDB5FB #FBB5C0 #E3FBB5 #B5FBF0
square
#CDB5FB #FBB5C0 #E3FBB5 #B5FBF0
split-complementary
#CDB5FB #FBF0B5 #C0FBB5
monochromatic
#7F41F5 #A67BF8 #CDB5FB #EBE2FD #EBE2FD

Accessibility & contrast

On white

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

On black

11.60
#CDB5FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB5FB
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB5FB#FFFFFF#000000##000000
##CDB5FB1.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6C0FE
Deuteranopia (green-blind)
#AAC0F9
Tritanopia (blue-blind)
#C5C0CE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdb5fb;
/* rgb */ color: rgb(205, 181, 251);
/* oklch */ color: oklch(81.8% 0.100 299.9);
Tailwind
colors: {
  custom: {
    50: '#ddcbfd',
    500: '#cdb5fb',
    950: '#000000',
  },
}
SCSS
$custom: #cdb5fb;
$custom-light: #ddcbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb5fb",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 251
  },
  "hsl": {
    "h": 260.571,
    "s": 89.744,
    "l": 84.706
  },
  "oklch": {
    "l": 0.81781,
    "c": 0.09987,
    "h": 299.9
  },
  "luminance": 0.52992
}

Semantic roles & 50–950 ramp

primary
#CDB5FB
secondary
#BBDF75
accent
#E60097
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CDB5FB

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

Preview Lab → · Contrast checker → · Palette generator →

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