#CB89DC#CB89DC

#CB89DC is a light, vivid purple. Relative luminance 0.358; OKLCH L 72.5% C 0.136 H 319.2°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#CB89DC
RGBrgb(203, 137, 220)
HSLhsl(288, 54%, 70%)
HSVhsv(288, 38%, 86%)
CMYKcmyk(7.7%, 37.7%, 0%, 13.7%)
CIE-LABlab(66.33, 39.07, -32.41)
CIE-LCHlch(66.33, 50.76, 320.32°)
OKLaboklab(72.55% 0.1032 -0.0889)
OKLCHoklch(72.55% 0.136 319.2)
XYZxyz(46.4908, 35.7565, 72.1490)
Luminance0.3575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB89DC #9ADC89
analogous
#A289DC #CB89DC #DC89C3
triadic
#CB89DC #DCCB89 #89DCCB
tetradic
#CB89DC #DCA289 #9ADC89 #89C3DC
square
#CB89DC #DCA289 #9ADC89 #89C3DC
split-complementary
#CB89DC #C3DC89 #89DCA2
monochromatic
#9B36B5 #B65ACE #CB89DC #E0B8EA #F5E7F8

Accessibility & contrast

On white

2.58
#CB89DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#CB89DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB89DC
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB89DC#FFFFFF#000000##000000
##CB89DC1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9DDF
Deuteranopia (green-blind)
#8EA4D9
Tritanopia (blue-blind)
#CC93A8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cb89dc;
/* rgb */ color: rgb(203, 137, 220);
/* oklch */ color: oklch(72.5% 0.136 319.2);
Tailwind
colors: {
  custom: {
    50: '#dcace7',
    500: '#cb89dc',
    950: '#000000',
  },
}
SCSS
$custom: #cb89dc;
$custom-light: #dcace7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb89dc",
  "rgb": {
    "r": 203,
    "g": 137,
    "b": 220
  },
  "hsl": {
    "h": 287.711,
    "s": 54.248,
    "l": 70
  },
  "oklch": {
    "l": 0.7255,
    "c": 0.1362,
    "h": 319.2
  },
  "luminance": 0.35755
}

Semantic roles & 50–950 ramp

primary
#CB89DC
secondary
#DAECD5
accent
#C22444
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB89DC

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

Preview Lab → · Contrast checker → · Palette generator →

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