#CB89DE#CB89DE

#CB89DE is a light, vivid purple. Relative luminance 0.359; OKLCH L 72.6% C 0.138 H 318.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#CB89DE
RGBrgb(203, 137, 222)
HSLhsl(287, 56%, 70%)
HSVhsv(287, 38%, 87%)
CMYKcmyk(8.6%, 38.3%, 0%, 12.9%)
CIE-LABlab(66.42, 39.47, -33.39)
CIE-LCHlch(66.42, 51.70, 319.77°)
OKLaboklab(72.64% 0.1036 -0.0917)
OKLCHoklch(72.64% 0.138 318.5)
XYZxyz(46.7573, 35.8631, 73.5523)
Luminance0.3586 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB89DE #9CDE89
analogous
#A089DE #CB89DE #DE89C6
triadic
#CB89DE #DECB89 #89DECB
tetradic
#CB89DE #DEA089 #9CDE89 #89C6DE
square
#CB89DE #DEA089 #9CDE89 #89C6DE
split-complementary
#CB89DE #C6DE89 #89DEA0
monochromatic
#9B34B9 #B659D1 #CB89DE #E0B9EB #F4E7F8

Accessibility & contrast

On white

2.57
#CB89DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#CB89DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB89DE
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB89DE#FFFFFF#000000##000000
##CB89DE1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9DE1
Deuteranopia (green-blind)
#8DA4DB
Tritanopia (blue-blind)
#CB93A9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cb89de;
/* rgb */ color: rgb(203, 137, 222);
/* oklch */ color: oklch(72.6% 0.138 318.5);
Tailwind
colors: {
  custom: {
    50: '#dcace8',
    500: '#cb89de',
    950: '#000000',
  },
}
SCSS
$custom: #cb89de;
$custom-light: #dcace8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb89de",
  "rgb": {
    "r": 203,
    "g": 137,
    "b": 222
  },
  "hsl": {
    "h": 286.588,
    "s": 56.291,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72638,
    "c": 0.13837,
    "h": 318.5
  },
  "luminance": 0.35862
}

Semantic roles & 50–950 ramp

primary
#CB89DE
secondary
#DBEDD6
accent
#C42246
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB89DE

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

Preview Lab → · Contrast checker → · Palette generator →

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