#CB9BEE#CB9BEE

#CB9BEE is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.4% C 0.126 H 310.1°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#CB9BEE
RGBrgb(203, 155, 238)
HSLhsl(275, 71%, 77%)
HSVhsv(275, 35%, 93%)
CMYKcmyk(14.7%, 34.9%, 0%, 6.7%)
CIE-LABlab(71.09, 32.99, -34.95)
CIE-LCHlch(71.09, 48.06, 313.35°)
OKLaboklab(76.39% 0.0812 -0.0963)
OKLCHoklch(76.39% 0.126 310.1)
XYZxyz(51.7798, 42.3129, 86.3118)
Luminance0.4231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9BEE #BEEE9B
analogous
#A29BEE #CB9BEE #EE9BE7
triadic
#CB9BEE #EECB9B #9BEECB
tetradic
#CB9BEE #EEA29B #BEEE9B #9BE7EE
square
#CB9BEE #EEA29B #BEEE9B #9BE7EE
split-complementary
#CB9BEE #E7EE9B #9BEEA2
monochromatic
#9532DC #B067E5 #CB9BEE #E6CFF7 #F1E5FB

Accessibility & contrast

On white

2.22
#CB9BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#CB9BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9BEE
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9BEE#FFFFFF#000000##000000
##CB9BEE1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF1
Deuteranopia (green-blind)
#96AFEC
Tritanopia (blue-blind)
#C7A7BA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cb9bee;
/* rgb */ color: rgb(203, 155, 238);
/* oklch */ color: oklch(76.4% 0.126 310.1);
Tailwind
colors: {
  custom: {
    50: '#dcb9f4',
    500: '#cb9bee',
    950: '#000000',
  },
}
SCSS
$custom: #cb9bee;
$custom-light: #dcb9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9bee",
  "rgb": {
    "r": 203,
    "g": 155,
    "b": 238
  },
  "hsl": {
    "h": 274.699,
    "s": 70.94,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76387,
    "c": 0.12594,
    "h": 310.1
  },
  "luminance": 0.42312
}

Semantic roles & 50–950 ramp

primary
#CB9BEE
secondary
#E4F2D9
accent
#D31364
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB9BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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