#CBB9EC#CBB9EC

#CBB9EC is a light, moderate violet. Relative luminance 0.535; OKLCH L 81.8% C 0.073 H 300.9°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#CBB9EC
RGBrgb(203, 185, 236)
HSLhsl(261, 57%, 83%)
HSVhsv(261, 22%, 93%)
CMYKcmyk(14%, 21.6%, 0%, 7.5%)
CIE-LABlab(78.14, 16.15, -23.03)
CIE-LCHlch(78.14, 28.13, 305.05°)
OKLaboklab(81.77% 0.0376 -0.0627)
OKLCHoklch(81.77% 0.073 300.9)
XYZxyz(57.1149, 53.4505, 86.6486)
Luminance0.5345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB9EC #DAECB9
analogous
#B9C1EC #CBB9EC #E4B9EC
triadic
#CBB9EC #ECCBB9 #B9ECCB
tetradic
#CBB9EC #ECB9C1 #DAECB9 #B9ECE4
square
#CBB9EC #ECB9C1 #DAECB9 #B9ECE4
split-complementary
#CBB9EC #ECE4B9 #C1ECB9
monochromatic
#8359D2 #A789DF #CBB9EC #EDE7F8 #EDE7F8

Accessibility & contrast

On white

1.80
#CBB9EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#CBB9EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB9EC
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB9EC#FFFFFF#000000##000000
##CBB9EC1.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFC1EE
Deuteranopia (green-blind)
#B2C1EA
Tritanopia (blue-blind)
#C6C0CA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbb9ec;
/* rgb */ color: rgb(203, 185, 236);
/* oklch */ color: oklch(81.8% 0.073 300.9);
Tailwind
colors: {
  custom: {
    50: '#dbcef2',
    500: '#cbb9ec',
    950: '#000000',
  },
}
SCSS
$custom: #cbb9ec;
$custom-light: #dbcef2;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb9ec",
  "rgb": {
    "r": 203,
    "g": 185,
    "b": 236
  },
  "hsl": {
    "h": 261.176,
    "s": 57.303,
    "l": 82.549
  },
  "oklch": {
    "l": 0.81773,
    "c": 0.07313,
    "h": 300.9
  },
  "luminance": 0.53451
}

Semantic roles & 50–950 ramp

primary
#CBB9EC
secondary
#AFC980
accent
#C5218B
background
#FEFEFF
surface
#FBFAFE
border
#D4D3D6
text
#151317
muted
#848385

Preview Lab

Preview with #CBB9EC

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

Preview Lab → · Contrast checker → · Palette generator →

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