#CBB5FE#CBB5FE

#CBB5FE is a light, moderate violet. Relative luminance 0.529; OKLCH L 81.7% C 0.103 H 297.9°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#CBB5FE
RGBrgb(203, 181, 254)
HSLhsl(258, 97%, 85%)
HSVhsv(258, 29%, 100%)
CMYKcmyk(20.1%, 28.7%, 0%, 0.4%)
CIE-LABlab(77.82, 22.23, -33.20)
CIE-LCHlch(77.82, 39.96, 303.81°)
OKLaboklab(81.74% 0.0484 -0.0914)
OKLCHoklch(81.74% 0.103 297.9)
XYZxyz(59.0379, 52.8997, 100.8471)
Luminance0.5290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB5FE #E8FEB5
analogous
#B5C3FE #CBB5FE #EFB5FE
triadic
#CBB5FE #FECBB5 #B5FECB
tetradic
#CBB5FE #FEB5C3 #E8FEB5 #B5FEEF
square
#CBB5FE #FEB5C3 #E8FEB5 #B5FEEF
split-complementary
#CBB5FE #FEEFB5 #C3FEB5
monochromatic
#763CFC #A179FD #CBB5FE #EAE1FF #EAE1FF

Accessibility & contrast

On white

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

On black

11.58
#CBB5FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB5FE
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB5FE#FFFFFF#000000##000000
##CBB5FE1.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5C0FF
Deuteranopia (green-blind)
#A8C0FC
Tritanopia (blue-blind)
#C2C0CF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbb5fe;
/* rgb */ color: rgb(203, 181, 254);
/* oklch */ color: oklch(81.7% 0.103 297.9);
Tailwind
colors: {
  custom: {
    50: '#dbcbff',
    500: '#cbb5fe',
    950: '#000000',
  },
}
SCSS
$custom: #cbb5fe;
$custom-light: #dbcbff;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb5fe",
  "rgb": {
    "r": 203,
    "g": 181,
    "b": 254
  },
  "hsl": {
    "h": 258.082,
    "s": 97.333,
    "l": 85.294
  },
  "oklch": {
    "l": 0.81736,
    "c": 0.10348,
    "h": 297.9
  },
  "luminance": 0.529
}

Semantic roles & 50–950 ramp

primary
#CBB5FE
secondary
#C2E473
accent
#E600A0
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CBB5FE

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

Preview Lab → · Contrast checker → · Palette generator →

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