#CB9DCD#CB9DCD

#CB9DCD is a light, moderate purple. Relative luminance 0.412; OKLCH L 75.4% C 0.085 H 325.0°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#CB9DCD
RGBrgb(203, 157, 205)
HSLhsl(298, 32%, 71%)
HSVhsv(298, 23%, 80%)
CMYKcmyk(1%, 23.4%, 0%, 19.6%)
CIE-LABlab(70.33, 25.24, -17.98)
CIE-LCHlch(70.33, 30.99, 324.54°)
OKLaboklab(75.41% 0.0693 -0.0484)
OKLCHoklch(75.41% 0.085 325)
XYZxyz(47.7038, 41.2194, 63.1890)
Luminance0.4122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9DCD #9FCD9D
analogous
#B39DCD #CB9DCD #CD9DB7
triadic
#CB9DCD #CDCB9D #9DCDCB
tetradic
#CB9DCD #CDB39D #9FCD9D #9DB7CD
square
#CB9DCD #CDB39D #9FCD9D #9DB7CD
split-complementary
#CB9DCD #B7CD9D #9DCDB3
monochromatic
#9B519F #B574B8 #CB9DCD #E1C6E2 #F4EBF5

Accessibility & contrast

On white

2.27
#CB9DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#CB9DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9DCD
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9DCD#FFFFFF#000000##000000
##CB9DCD1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A8CF
Deuteranopia (green-blind)
#A4AECB
Tritanopia (blue-blind)
#CEA1AE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cb9dcd;
/* rgb */ color: rgb(203, 157, 205);
/* oklch */ color: oklch(75.4% 0.085 325.0);
Tailwind
colors: {
  custom: {
    50: '#dbbadc',
    500: '#cb9dcd',
    950: '#000000',
  },
}
SCSS
$custom: #cb9dcd;
$custom-light: #dbbadc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9dcd",
  "rgb": {
    "r": 203,
    "g": 157,
    "b": 205
  },
  "hsl": {
    "h": 297.5,
    "s": 32.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75407,
    "c": 0.08452,
    "h": 325
  },
  "luminance": 0.41218
}

Semantic roles & 50–950 ramp

primary
#CB9DCD
secondary
#DDE9DD
accent
#AB3A3F
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CB9DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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