#CB89E4#CB89E4

#CB89E4 is a light, vivid purple. Relative luminance 0.362; OKLCH L 72.9% C 0.145 H 316.3°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#CB89E4
RGBrgb(203, 137, 228)
HSLhsl(284, 63%, 72%)
HSVhsv(284, 40%, 89%)
CMYKcmyk(11%, 39.9%, 0%, 10.6%)
CIE-LABlab(66.67, 40.68, -36.32)
CIE-LCHlch(66.67, 54.54, 318.24°)
OKLaboklab(72.91% 0.1049 -0.1001)
OKLCHoklch(72.91% 0.145 316.3)
XYZxyz(47.5758, 36.1905, 77.8630)
Luminance0.3619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB89E4 #A2E489
analogous
#9E89E4 #CB89E4 #E489D0
triadic
#CB89E4 #E4CB89 #89E4CB
tetradic
#CB89E4 #E49E89 #A2E489 #89D0E4
square
#CB89E4 #E49E89 #A2E489 #89D0E4
split-complementary
#CB89E4 #D0E489 #89E49E
monochromatic
#9C2DC5 #B557D9 #CB89E4 #E1BBEF #F4E6F9

Accessibility & contrast

On white

2.55
#CB89E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#CB89E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB89E4
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB89E4#FFFFFF#000000##000000
##CB89E41.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9EE7
Deuteranopia (green-blind)
#8BA4E1
Tritanopia (blue-blind)
#CA95AC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb89e4;
/* rgb */ color: rgb(203, 137, 228);
/* oklch */ color: oklch(72.9% 0.145 316.3);
Tailwind
colors: {
  custom: {
    50: '#dcaced',
    500: '#cb89e4',
    950: '#000000',
  },
}
SCSS
$custom: #cb89e4;
$custom-light: #dcaced;
$custom-dark: #000000;
JSON
{
  "hex": "#cb89e4",
  "rgb": {
    "r": 203,
    "g": 137,
    "b": 228
  },
  "hsl": {
    "h": 283.516,
    "s": 62.759,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72909,
    "c": 0.14497,
    "h": 316.3
  },
  "luminance": 0.36189
}

Semantic roles & 50–950 ramp

primary
#CB89E4
secondary
#DFF0D9
accent
#CB1B4B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB89E4

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

Preview Lab → · Contrast checker → · Palette generator →

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