#CB8EC6#CB8EC6

#CB8EC6 is a light, moderate purple. Relative luminance 0.361; OKLCH L 72.5% C 0.105 H 329.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#CB8EC6
RGBrgb(203, 142, 198)
HSLhsl(305, 37%, 68%)
HSVhsv(305, 30%, 80%)
CMYKcmyk(0%, 30%, 2.5%, 20.4%)
CIE-LABlab(66.61, 32.14, -19.73)
CIE-LCHlch(66.61, 37.72, 328.46°)
OKLaboklab(72.49% 0.09 -0.0532)
OKLCHoklch(72.49% 0.105 329.4)
XYZxyz(44.4938, 36.1214, 58.0435)
Luminance0.3612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EC6 #8ECB93
analogous
#B18ECB #CB8EC6 #CB8EA7
triadic
#CB8EC6 #C6CB8E #8EC6CB
tetradic
#CB8EC6 #CBB18E #8ECB93 #8EA7CB
square
#CB8EC6 #CBB18E #8ECB93 #8EA7CB
split-complementary
#CB8EC6 #A7CB8E #8ECBB1
monochromatic
#984692 #B864B1 #CB8EC6 #DEB8DB #F2E2F0

Accessibility & contrast

On white

2.55
#CB8EC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#CB8EC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EC6
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EC6#FFFFFF#000000##000000
##CB8EC61.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9DC8
Deuteranopia (green-blind)
#9AA5C4
Tritanopia (blue-blind)
#D092A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb8ec6;
/* rgb */ color: rgb(203, 142, 198);
/* oklch */ color: oklch(72.5% 0.105 329.4);
Tailwind
colors: {
  custom: {
    50: '#dbb0d7',
    500: '#cb8ec6',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ec6;
$custom-light: #dbb0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ec6",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 198
  },
  "hsl": {
    "h": 304.918,
    "s": 36.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72487,
    "c": 0.10457,
    "h": 329.4
  },
  "luminance": 0.3612
}

Semantic roles & 50–950 ramp

primary
#CB8EC6
secondary
#D1E4D2
accent
#B04036
background
#FDFAFD
surface
#FBF5FA
border
#D4CFD3
text
#151014
muted
#837F83

Preview Lab

Preview with #CB8EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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