#CDB5FC#CDB5FC

#CDB5FC is a light, moderate violet. Relative luminance 0.531; OKLCH L 81.8% C 0.101 H 299.7°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#CDB5FC
RGBrgb(205, 181, 252)
HSLhsl(260, 92%, 85%)
HSVhsv(260, 28%, 99%)
CMYKcmyk(18.7%, 28.2%, 0%, 1.2%)
CIE-LABlab(77.91, 22.39, -31.97)
CIE-LCHlch(77.91, 39.03, 305.01°)
OKLaboklab(81.82% 0.0501 -0.0879)
OKLCHoklch(81.82% 0.101 299.7)
XYZxyz(59.2677, 53.0550, 99.1948)
Luminance0.5305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB5FC #E4FCB5
analogous
#B5C0FC #CDB5FC #F1B5FC
triadic
#CDB5FC #FCCDB5 #B5FCCD
tetradic
#CDB5FC #FCB5C0 #E4FCB5 #B5FCF1
square
#CDB5FC #FCB5C0 #E4FCB5 #B5FCF1
split-complementary
#CDB5FC #FCF1B5 #C0FCB5
monochromatic
#7E3FF7 #A57AFA #CDB5FC #EBE2FE #EBE2FE

Accessibility & contrast

On white

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

On black

11.61
#CDB5FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB5FC
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB5FC#FFFFFF#000000##000000
##CDB5FC1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6C0FF
Deuteranopia (green-blind)
#AAC0FA
Tritanopia (blue-blind)
#C5C0CE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdb5fc;
/* rgb */ color: rgb(205, 181, 252);
/* oklch */ color: oklch(81.8% 0.101 299.7);
Tailwind
colors: {
  custom: {
    50: '#ddcbfd',
    500: '#cdb5fc',
    950: '#000000',
  },
}
SCSS
$custom: #cdb5fc;
$custom-light: #ddcbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb5fc",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 252
  },
  "hsl": {
    "h": 260.282,
    "s": 92.208,
    "l": 84.902
  },
  "oklch": {
    "l": 0.81822,
    "c": 0.10119,
    "h": 299.7
  },
  "luminance": 0.53055
}

Semantic roles & 50–950 ramp

primary
#CDB5FC
secondary
#BCE174
accent
#E60098
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CDB5FC

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

Preview Lab → · Contrast checker → · Palette generator →

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