#CB8CC2#CB8CC2

#CB8CC2 is a light, moderate purple. Relative luminance 0.353; OKLCH L 72.0% C 0.104 H 331.7°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#CB8CC2
RGBrgb(203, 140, 194)
HSLhsl(309, 38%, 67%)
HSVhsv(309, 31%, 80%)
CMYKcmyk(0%, 31%, 4.4%, 20.4%)
CIE-LABlab(66.02, 32.50, -18.39)
CIE-LCHlch(66.02, 37.35, 330.49°)
OKLaboklab(71.99% 0.0919 -0.0495)
OKLCHoklch(71.99% 0.104 331.7)
XYZxyz(43.7437, 35.3495, 55.5474)
Luminance0.3535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8CC2 #8CCB95
analogous
#B48CCB #CB8CC2 #CB8CA3
triadic
#CB8CC2 #C2CB8C #8CC2CB
tetradic
#CB8CC2 #CBB48C #8CCB95 #8CA3CB
square
#CB8CC2 #CBB48C #8CCB95 #8CA3CB
split-complementary
#CB8CC2 #A3CB8C #8CCBB4
monochromatic
#98458C #B862AC #CB8CC2 #DEB6D8 #F1E0EF

Accessibility & contrast

On white

2.60
#CB8CC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#CB8CC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8CC2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8CC2#FFFFFF#000000##000000
##CB8CC21.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9BC4
Deuteranopia (green-blind)
#9AA4C0
Tritanopia (blue-blind)
#D0909F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cb8cc2;
/* rgb */ color: rgb(203, 140, 194);
/* oklch */ color: oklch(72.0% 0.104 331.7);
Tailwind
colors: {
  custom: {
    50: '#dbaed4',
    500: '#cb8cc2',
    950: '#000000',
  },
}
SCSS
$custom: #cb8cc2;
$custom-light: #dbaed4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8cc2",
  "rgb": {
    "r": 203,
    "g": 140,
    "b": 194
  },
  "hsl": {
    "h": 308.571,
    "s": 37.725,
    "l": 67.255
  },
  "oklch": {
    "l": 0.7199,
    "c": 0.10439,
    "h": 331.7
  },
  "luminance": 0.35348
}

Semantic roles & 50–950 ramp

primary
#CB8CC2
secondary
#CFE3D2
accent
#B14735
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CB8CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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