#CBB7EC#CBB7EC

#CBB7EC is a light, moderate violet. Relative luminance 0.526; OKLCH L 81.4% C 0.076 H 302.0°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#CBB7EC
RGBrgb(203, 183, 236)
HSLhsl(263, 58%, 82%)
HSVhsv(263, 22%, 93%)
CMYKcmyk(14%, 22.5%, 0%, 7.5%)
CIE-LABlab(77.65, 17.24, -23.77)
CIE-LCHlch(77.65, 29.37, 305.95°)
OKLaboklab(81.39% 0.0405 -0.0648)
OKLCHoklch(81.39% 0.076 302)
XYZxyz(56.6994, 52.6196, 86.5102)
Luminance0.5262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB7EC #D8ECB7
analogous
#B7BDEC #CBB7EC #E6B7EC
triadic
#CBB7EC #ECCBB7 #B7ECCB
tetradic
#CBB7EC #ECB7BD #D8ECB7 #B7ECE6
square
#CBB7EC #ECB7BD #D8ECB7 #B7ECE6
split-complementary
#CBB7EC #ECE6B7 #BDECB7
monochromatic
#8556D2 #A887DF #CBB7EC #EEE7F9 #EEE7F9

Accessibility & contrast

On white

1.82
#CBB7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#CBB7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB7EC
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB7EC#FFFFFF#000000##000000
##CBB7EC1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADBFEE
Deuteranopia (green-blind)
#B0C0EA
Tritanopia (blue-blind)
#C6BEC9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbb7ec;
/* rgb */ color: rgb(203, 183, 236);
/* oklch */ color: oklch(81.4% 0.076 302.0);
Tailwind
colors: {
  custom: {
    50: '#dbccf2',
    500: '#cbb7ec',
    950: '#000000',
  },
}
SCSS
$custom: #cbb7ec;
$custom-light: #dbccf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb7ec",
  "rgb": {
    "r": 203,
    "g": 183,
    "b": 236
  },
  "hsl": {
    "h": 262.642,
    "s": 58.242,
    "l": 82.157
  },
  "oklch": {
    "l": 0.81394,
    "c": 0.0764,
    "h": 302
  },
  "luminance": 0.5262
}

Semantic roles & 50–950 ramp

primary
#CBB7EC
secondary
#ADC97E
accent
#C62087
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151317
muted
#848385

Preview Lab

Preview with #CBB7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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