#CB89E2#CB89E2

#CB89E2 is a light, vivid purple. Relative luminance 0.361; OKLCH L 72.8% C 0.143 H 317.0°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#CB89E2
RGBrgb(203, 137, 226)
HSLhsl(284, 61%, 71%)
HSVhsv(284, 39%, 89%)
CMYKcmyk(10.2%, 39.4%, 0%, 11.4%)
CIE-LABlab(66.58, 40.27, -35.35)
CIE-LCHlch(66.58, 53.59, 318.73°)
OKLaboklab(72.82% 0.1045 -0.0973)
OKLCHoklch(72.82% 0.143 317)
XYZxyz(47.2997, 36.0801, 76.4093)
Luminance0.3608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB89E2 #A0E289
analogous
#9E89E2 #CB89E2 #E289CC
triadic
#CB89E2 #E2CB89 #89E2CB
tetradic
#CB89E2 #E29E89 #A0E289 #89CCE2
square
#CB89E2 #E29E89 #A0E289 #89CCE2
split-complementary
#CB89E2 #CCE289 #89E29E
monochromatic
#9B2FC1 #B558D6 #CB89E2 #E1BAEE #F4E6F9

Accessibility & contrast

On white

2.56
#CB89E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#CB89E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB89E2
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB89E2#FFFFFF#000000##000000
##CB89E21.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9EE5
Deuteranopia (green-blind)
#8CA4DF
Tritanopia (blue-blind)
#CB94AB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb89e2;
/* rgb */ color: rgb(203, 137, 226);
/* oklch */ color: oklch(72.8% 0.143 317.0);
Tailwind
colors: {
  custom: {
    50: '#dcaceb',
    500: '#cb89e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb89e2;
$custom-light: #dcaceb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb89e2",
  "rgb": {
    "r": 203,
    "g": 137,
    "b": 226
  },
  "hsl": {
    "h": 284.494,
    "s": 60.544,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72818,
    "c": 0.14276,
    "h": 317
  },
  "luminance": 0.36079
}

Semantic roles & 50–950 ramp

primary
#CB89E2
secondary
#DEEFD8
accent
#C81D49
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB89E2

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

Preview Lab → · Contrast checker → · Palette generator →

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