#CB99DC#CB99DC

#CB99DC is a light, moderate purple. Relative luminance 0.406; OKLCH L 75.3% C 0.108 H 317.4°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#CB99DC
RGBrgb(203, 153, 220)
HSLhsl(285, 49%, 73%)
HSVhsv(285, 30%, 86%)
CMYKcmyk(7.7%, 30.5%, 0%, 13.7%)
CIE-LABlab(69.93, 30.36, -26.86)
CIE-LCHlch(69.93, 40.54, 318.50°)
OKLaboklab(75.28% 0.0796 -0.0733)
OKLCHoklch(75.28% 0.108 317.4)
XYZxyz(48.9362, 40.6473, 72.9641)
Luminance0.4065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB99DC #AADC99
analogous
#A999DC #CB99DC #DC99CB
triadic
#CB99DC #DCCB99 #99DCCB
tetradic
#CB99DC #DCA999 #AADC99 #99CBDC
square
#CB99DC #DCA999 #AADC99 #99CBDC
split-complementary
#CB99DC #CBDC99 #99DCA9
monochromatic
#9B40BB #B46BCC #CB99DC #E2C7EC #F3E8F7

Accessibility & contrast

On white

2.30
#CB99DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#CB99DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB99DC
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB99DC#FFFFFF#000000##000000
##CB99DC1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A8DF
Deuteranopia (green-blind)
#9CADDA
Tritanopia (blue-blind)
#CBA1B1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cb99dc;
/* rgb */ color: rgb(203, 153, 220);
/* oklch */ color: oklch(75.3% 0.108 317.4);
Tailwind
colors: {
  custom: {
    50: '#dbb7e7',
    500: '#cb99dc',
    950: '#000000',
  },
}
SCSS
$custom: #cb99dc;
$custom-light: #dbb7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb99dc",
  "rgb": {
    "r": 203,
    "g": 153,
    "b": 220
  },
  "hsl": {
    "h": 284.776,
    "s": 48.905,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75276,
    "c": 0.10821,
    "h": 317.4
  },
  "luminance": 0.40646
}

Semantic roles & 50–950 ramp

primary
#CB99DC
secondary
#E1EEDD
accent
#BC294F
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB99DC

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

Preview Lab → · Contrast checker → · Palette generator →

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