#CB8CCD#CB8CCD

#CB8CCD is a light, moderate purple. Relative luminance 0.359; OKLCH L 72.4% C 0.115 H 325.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#CB8CCD
RGBrgb(203, 140, 205)
HSLhsl(298, 39%, 68%)
HSVhsv(298, 32%, 80%)
CMYKcmyk(1%, 31.7%, 0%, 19.6%)
CIE-LABlab(66.41, 34.54, -23.94)
CIE-LCHlch(66.41, 42.02, 325.27°)
OKLaboklab(72.42% 0.095 -0.065)
OKLCHoklch(72.42% 0.115 325.6)
XYZxyz(45.0251, 35.8620, 62.2961)
Luminance0.3586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8CCD #8ECD8C
analogous
#AB8CCD #CB8CCD #CD8CAE
triadic
#CB8CCD #CDCB8C #8CCDCB
tetradic
#CB8CCD #CDAB8C #8ECD8C #8CAECD
square
#CB8CCD #CDAB8C #8ECD8C #8CAECD
split-complementary
#CB8CCD #AECD8C #8CCDAB
monochromatic
#98439B #B861BA #CB8CCD #DEB7E0 #F2E1F2

Accessibility & contrast

On white

2.57
#CB8CCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#CB8CCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8CCD
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8CCD#FFFFFF#000000##000000
##CB8CCD1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#879DCF
Deuteranopia (green-blind)
#96A4CB
Tritanopia (blue-blind)
#CE92A4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cb8ccd;
/* rgb */ color: rgb(203, 140, 205);
/* oklch */ color: oklch(72.4% 0.115 325.6);
Tailwind
colors: {
  custom: {
    50: '#dcaedc',
    500: '#cb8ccd',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ccd;
$custom-light: #dcaedc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ccd",
  "rgb": {
    "r": 203,
    "g": 140,
    "b": 205
  },
  "hsl": {
    "h": 298.154,
    "s": 39.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.7242,
    "c": 0.11511,
    "h": 325.6
  },
  "luminance": 0.3586
}

Semantic roles & 50–950 ramp

primary
#CB8CCD
secondary
#D1E4D0
accent
#B23337
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CB8CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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