#CB9CD9#CB9CD9

#CB9CD9 is a light, moderate purple. Relative luminance 0.415; OKLCH L 75.7% C 0.099 H 318.3°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#CB9CD9
RGBrgb(203, 156, 217)
HSLhsl(286, 45%, 73%)
HSVhsv(286, 28%, 85%)
CMYKcmyk(6.5%, 28.1%, 0%, 14.9%)
CIE-LABlab(70.51, 28.12, -24.32)
CIE-LCHlch(70.51, 37.18, 319.15°)
OKLaboklab(75.69% 0.0743 -0.0661)
OKLCHoklch(75.69% 0.099 318.3)
XYZxyz(49.0397, 41.4842, 71.0561)
Luminance0.4148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9CD9 #AAD99C
analogous
#AC9CD9 #CB9CD9 #D99CC8
triadic
#CB9CD9 #D9CB9C #9CD9CB
tetradic
#CB9CD9 #D9AC9C #AAD99C #9CC8D9
square
#CB9CD9 #D9AC9C #AAD99C #9CC8D9
split-complementary
#CB9CD9 #C8D99C #9CD9AC
monochromatic
#9B46B5 #B470C8 #CB9CD9 #E2C8EA #F3E9F7

Accessibility & contrast

On white

2.26
#CB9CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#CB9CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9CD9
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9CD9#FFFFFF#000000##000000
##CB9CD91.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A9DB
Deuteranopia (green-blind)
#9FAED7
Tritanopia (blue-blind)
#CBA3B2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cb9cd9;
/* rgb */ color: rgb(203, 156, 217);
/* oklch */ color: oklch(75.7% 0.099 318.3);
Tailwind
colors: {
  custom: {
    50: '#dbb9e5',
    500: '#cb9cd9',
    950: '#000000',
  },
}
SCSS
$custom: #cb9cd9;
$custom-light: #dbb9e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9cd9",
  "rgb": {
    "r": 203,
    "g": 156,
    "b": 217
  },
  "hsl": {
    "h": 286.23,
    "s": 44.526,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75686,
    "c": 0.09949,
    "h": 318.3
  },
  "luminance": 0.41483
}

Semantic roles & 50–950 ramp

primary
#CB9CD9
secondary
#E1EDDE
accent
#B82E4D
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151115
muted
#838084

Preview Lab

Preview with #CB9CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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