#CBB5EC#CBB5EC

#CBB5EC is a light, moderate violet. Relative luminance 0.518; OKLCH L 81.0% C 0.080 H 302.9°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#CBB5EC
RGBrgb(203, 181, 236)
HSLhsl(264, 59%, 82%)
HSVhsv(264, 23%, 93%)
CMYKcmyk(14%, 23.3%, 0%, 7.5%)
CIE-LABlab(77.16, 18.33, -24.52)
CIE-LCHlch(77.16, 30.61, 306.78°)
OKLaboklab(81.02% 0.0433 -0.0669)
OKLCHoklch(81.02% 0.08 302.9)
XYZxyz(56.2898, 51.8004, 86.3736)
Luminance0.5180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB5EC #D6ECB5
analogous
#B5BBEC #CBB5EC #E7B5EC
triadic
#CBB5EC #ECCBB5 #B5ECCB
tetradic
#CBB5EC #ECB5BB #D6ECB5 #B5ECE7
square
#CBB5EC #ECB5BB #D6ECB5 #B5ECE7
split-complementary
#CBB5EC #ECE7B5 #BBECB5
monochromatic
#8754D3 #A984DF #CBB5EC #EDE6F9 #EEE7F9

Accessibility & contrast

On white

1.85
#CBB5EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#CBB5EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB5EC
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB5EC#FFFFFF#000000##000000
##CBB5EC1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABBEEE
Deuteranopia (green-blind)
#AEBEEA
Tritanopia (blue-blind)
#C6BDC8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbb5ec;
/* rgb */ color: rgb(203, 181, 236);
/* oklch */ color: oklch(81.0% 0.080 302.9);
Tailwind
colors: {
  custom: {
    50: '#dbcbf2',
    500: '#cbb5ec',
    950: '#000000',
  },
}
SCSS
$custom: #cbb5ec;
$custom-light: #dbcbf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb5ec",
  "rgb": {
    "r": 203,
    "g": 181,
    "b": 236
  },
  "hsl": {
    "h": 264,
    "s": 59.14,
    "l": 81.765
  },
  "oklch": {
    "l": 0.81016,
    "c": 0.07969,
    "h": 302.9
  },
  "luminance": 0.518
}

Semantic roles & 50–950 ramp

primary
#CBB5EC
secondary
#AAC97C
accent
#C71F84
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CBB5EC

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

Preview Lab → · Contrast checker → · Palette generator →

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