#CB90DC#CB90DC

#CB90DC is a light, vivid purple. Relative luminance 0.378; OKLCH L 73.7% C 0.124 H 318.5°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#CB90DC
RGBrgb(203, 144, 220)
HSLhsl(287, 52%, 71%)
HSVhsv(287, 35%, 86%)
CMYKcmyk(7.7%, 34.5%, 0%, 13.7%)
CIE-LABlab(67.88, 35.28, -30.01)
CIE-LCHlch(67.88, 46.32, 319.61°)
OKLaboklab(73.72% 0.0929 -0.0822)
OKLCHoklch(73.72% 0.124 318.5)
XYZxyz(47.5184, 37.8116, 72.4915)
Luminance0.3781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB90DC #A1DC90
analogous
#A590DC #CB90DC #DC90C7
triadic
#CB90DC #DCCB90 #90DCCB
tetradic
#CB90DC #DCA590 #A1DC90 #90C7DC
square
#CB90DC #DCA590 #A1DC90 #90C7DC
split-complementary
#CB90DC #C7DC90 #90DCA5
monochromatic
#9C3AB8 #B561CD #CB90DC #E1BFEB #F4E8F8

Accessibility & contrast

On white

2.45
#CB90DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#CB90DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB90DC
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB90DC#FFFFFF#000000##000000
##CB90DC1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A1DF
Deuteranopia (green-blind)
#94A7DA
Tritanopia (blue-blind)
#CB99AC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb90dc;
/* rgb */ color: rgb(203, 144, 220);
/* oklch */ color: oklch(73.7% 0.124 318.5);
Tailwind
colors: {
  custom: {
    50: '#dcb1e7',
    500: '#cb90dc',
    950: '#000000',
  },
}
SCSS
$custom: #cb90dc;
$custom-light: #dcb1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb90dc",
  "rgb": {
    "r": 203,
    "g": 144,
    "b": 220
  },
  "hsl": {
    "h": 286.579,
    "s": 52.055,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7372,
    "c": 0.12402,
    "h": 318.5
  },
  "luminance": 0.3781
}

Semantic roles & 50–950 ramp

primary
#CB90DC
secondary
#DEEEDA
accent
#BF2648
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #CB90DC

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

Preview Lab → · Contrast checker → · Palette generator →

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