#CB9BEA#CB9BEA

#CB9BEA is a light, vivid violet. Relative luminance 0.421; OKLCH L 76.2% C 0.121 H 311.5°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#CB9BEA
RGBrgb(203, 155, 234)
HSLhsl(276, 65%, 76%)
HSVhsv(276, 34%, 92%)
CMYKcmyk(13.2%, 33.8%, 0%, 8.2%)
CIE-LABlab(70.93, 32.15, -33.01)
CIE-LCHlch(70.93, 46.08, 314.24°)
OKLaboklab(76.21% 0.0802 -0.0907)
OKLCHoklch(76.21% 0.121 311.5)
XYZxyz(51.1987, 42.0804, 83.2511)
Luminance0.4208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9BEA #BAEA9B
analogous
#A49BEA #CB9BEA #EA9BE2
triadic
#CB9BEA #EACB9B #9BEACB
tetradic
#CB9BEA #EAA49B #BAEA9B #9BE2EA
square
#CB9BEA #EAA49B #BAEA9B #9BE2EA
split-complementary
#CB9BEA #E2EA9B #9BEAA4
monochromatic
#9636D5 #B168DF #CB9BEA #E5CEF5 #F2E6FA

Accessibility & contrast

On white

2.23
#CB9BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#CB9BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9BEA
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9BEA#FFFFFF#000000##000000
##CB9BEA1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABED
Deuteranopia (green-blind)
#98AFE8
Tritanopia (blue-blind)
#C8A6B8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cb9bea;
/* rgb */ color: rgb(203, 155, 234);
/* oklch */ color: oklch(76.2% 0.121 311.5);
Tailwind
colors: {
  custom: {
    50: '#dcb9f1',
    500: '#cb9bea',
    950: '#000000',
  },
}
SCSS
$custom: #cb9bea;
$custom-light: #dcb9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9bea",
  "rgb": {
    "r": 203,
    "g": 155,
    "b": 234
  },
  "hsl": {
    "h": 276.456,
    "s": 65.289,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76213,
    "c": 0.12114,
    "h": 311.5
  },
  "luminance": 0.4208
}

Semantic roles & 50–950 ramp

primary
#CB9BEA
secondary
#E3F1DA
accent
#CD185F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB9BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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