#CB89EB#CB89EB

#CB89EB is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.2% C 0.153 H 314.0°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#CB89EB
RGBrgb(203, 137, 235)
HSLhsl(280, 71%, 73%)
HSVhsv(280, 42%, 92%)
CMYKcmyk(13.6%, 41.7%, 0%, 7.8%)
CIE-LABlab(66.97, 42.12, -39.72)
CIE-LCHlch(66.97, 57.89, 316.68°)
OKLaboklab(73.23% 0.1062 -0.1099)
OKLCHoklch(73.23% 0.153 314)
XYZxyz(48.5672, 36.5871, 83.0847)
Luminance0.3659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB89EB #A9EB89
analogous
#9A89EB #CB89EB #EB89DA
triadic
#CB89EB #EBCB89 #89EBCB
tetradic
#CB89EB #EB9A89 #A9EB89 #89DAEB
square
#CB89EB #EB9A89 #A9EB89 #89DAEB
split-complementary
#CB89EB #DAEB89 #89EB9A
monochromatic
#9C24D5 #B455E2 #CB89EB #E2BDF4 #F3E5FB

Accessibility & contrast

On white

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

On black

8.32
#CB89EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB89EB
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB89EB#FFFFFF#000000##000000
##CB89EB1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEF
Deuteranopia (green-blind)
#88A5E8
Tritanopia (blue-blind)
#C997AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb89eb;
/* rgb */ color: rgb(203, 137, 235);
/* oklch */ color: oklch(73.2% 0.153 314.0);
Tailwind
colors: {
  custom: {
    50: '#dcadf2',
    500: '#cb89eb',
    950: '#000000',
  },
}
SCSS
$custom: #cb89eb;
$custom-light: #dcadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb89eb",
  "rgb": {
    "r": 203,
    "g": 137,
    "b": 235
  },
  "hsl": {
    "h": 280.408,
    "s": 71.014,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73234,
    "c": 0.15279,
    "h": 314
  },
  "luminance": 0.36586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB89EB

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

Preview Lab → · Contrast checker → · Palette generator →

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