#CB89DF#CB89DF

#CB89DF is a light, vivid purple. Relative luminance 0.359; OKLCH L 72.7% C 0.139 H 318.1°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#CB89DF
RGBrgb(203, 137, 223)
HSLhsl(286, 57%, 71%)
HSVhsv(286, 39%, 87%)
CMYKcmyk(9%, 38.6%, 0%, 12.5%)
CIE-LABlab(66.46, 39.67, -33.88)
CIE-LCHlch(66.46, 52.17, 319.50°)
OKLaboklab(72.68% 0.1038 -0.0931)
OKLCHoklch(72.68% 0.139 318.1)
XYZxyz(46.8917, 35.9169, 74.2602)
Luminance0.3592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB89DF #9DDF89
analogous
#A089DF #CB89DF #DF89C8
triadic
#CB89DF #DFCB89 #89DFCB
tetradic
#CB89DF #DFA089 #9DDF89 #89C8DF
square
#CB89DF #DFA089 #9DDF89 #89C8DF
split-complementary
#CB89DF #C8DF89 #89DFA0
monochromatic
#9B33BB #B659D2 #CB89DF #E0B9EC #F4E7F8

Accessibility & contrast

On white

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

On black

8.18
#CB89DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB89DF
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB89DF#FFFFFF#000000##000000
##CB89DF1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9DE2
Deuteranopia (green-blind)
#8DA4DC
Tritanopia (blue-blind)
#CB94AA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb89df;
/* rgb */ color: rgb(203, 137, 223);
/* oklch */ color: oklch(72.7% 0.139 318.1);
Tailwind
colors: {
  custom: {
    50: '#dcace9',
    500: '#cb89df',
    950: '#000000',
  },
}
SCSS
$custom: #cb89df;
$custom-light: #dcace9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb89df",
  "rgb": {
    "r": 203,
    "g": 137,
    "b": 223
  },
  "hsl": {
    "h": 286.047,
    "s": 57.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72683,
    "c": 0.13946,
    "h": 318.1
  },
  "luminance": 0.35916
}

Semantic roles & 50–950 ramp

primary
#CB89DF
secondary
#DCEED6
accent
#C52147
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB89DF

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

Preview Lab → · Contrast checker → · Palette generator →

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