#CB8CD8#CB8CD8

#CB8CD8 is a light, vivid purple. Relative luminance 0.364; OKLCH L 72.9% C 0.127 H 320.6°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#CB8CD8
RGBrgb(203, 140, 216)
HSLhsl(290, 49%, 70%)
HSVhsv(290, 35%, 85%)
CMYKcmyk(6%, 35.2%, 0%, 15.3%)
CIE-LABlab(66.83, 36.66, -29.42)
CIE-LCHlch(66.83, 47.00, 321.25°)
OKLaboklab(72.88% 0.0978 -0.0804)
OKLCHoklch(72.88% 0.127 320.6)
XYZxyz(46.3998, 36.4119, 69.5364)
Luminance0.3641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8CD8 #99D88C
analogous
#A58CD8 #CB8CD8 #D88CBF
triadic
#CB8CD8 #D8CB8C #8CD8CB
tetradic
#CB8CD8 #D8A58C #99D88C #8CBFD8
square
#CB8CD8 #D8A58C #99D88C #8CBFD8
split-complementary
#CB8CD8 #BFD88C #8CD8A5
monochromatic
#9B3BAE #B65EC9 #CB8CD8 #E0BAE7 #F4E7F7

Accessibility & contrast

On white

2.54
#CB8CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#CB8CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8CD8
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8CD8#FFFFFF#000000##000000
##CB8CD81.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#839EDB
Deuteranopia (green-blind)
#92A5D6
Tritanopia (blue-blind)
#CC95A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb8cd8;
/* rgb */ color: rgb(203, 140, 216);
/* oklch */ color: oklch(72.9% 0.127 320.6);
Tailwind
colors: {
  custom: {
    50: '#dcaee4',
    500: '#cb8cd8',
    950: '#000000',
  },
}
SCSS
$custom: #cb8cd8;
$custom-light: #dcaee4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8cd8",
  "rgb": {
    "r": 203,
    "g": 140,
    "b": 216
  },
  "hsl": {
    "h": 289.737,
    "s": 49.351,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72875,
    "c": 0.12665,
    "h": 320.6
  },
  "luminance": 0.36411
}

Semantic roles & 50–950 ramp

primary
#CB8CD8
secondary
#D9EBD5
accent
#BD2942
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CB8CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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