#CB89EC#CB89EC

#CB89EC is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.3% C 0.154 H 313.7°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#CB89EC
RGBrgb(203, 137, 236)
HSLhsl(280, 72%, 73%)
HSVhsv(280, 42%, 93%)
CMYKcmyk(14%, 41.9%, 0%, 7.5%)
CIE-LABlab(67.01, 42.33, -40.20)
CIE-LCHlch(67.01, 58.38, 316.48°)
OKLaboklab(73.28% 0.1064 -0.1112)
OKLCHoklch(73.28% 0.154 313.7)
XYZxyz(48.7121, 36.6450, 83.8477)
Luminance0.3664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB89EC #AAEC89
analogous
#9989EC #CB89EC #EC89DB
triadic
#CB89EC #ECCB89 #89ECCB
tetradic
#CB89EC #EC9989 #AAEC89 #89DBEC
square
#CB89EC #EC9989 #AAEC89 #89DBEC
split-complementary
#CB89EC #DBEC89 #89EC99
monochromatic
#9B23D8 #B454E4 #CB89EC #E2BEF4 #F3E5FB

Accessibility & contrast

On white

2.52
#CB89EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#CB89EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB89EC
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB89EC#FFFFFF#000000##000000
##CB89EC1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FF0
Deuteranopia (green-blind)
#87A5E9
Tritanopia (blue-blind)
#C897AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb89ec;
/* rgb */ color: rgb(203, 137, 236);
/* oklch */ color: oklch(73.3% 0.154 313.7);
Tailwind
colors: {
  custom: {
    50: '#dcadf2',
    500: '#cb89ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb89ec;
$custom-light: #dcadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb89ec",
  "rgb": {
    "r": 203,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 280,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73281,
    "c": 0.15392,
    "h": 313.7
  },
  "luminance": 0.36644
}

Semantic roles & 50–950 ramp

primary
#CB89EC
secondary
#E1F2D9
accent
#D41152
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB89EC

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

Preview Lab → · Contrast checker → · Palette generator →

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