#CB89EA#CB89EA

#CB89EA is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.2% C 0.152 H 314.3°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#CB89EA
RGBrgb(203, 137, 234)
HSLhsl(281, 70%, 73%)
HSVhsv(281, 41%, 92%)
CMYKcmyk(13.2%, 41.5%, 0%, 8.2%)
CIE-LABlab(66.92, 41.91, -39.23)
CIE-LCHlch(66.92, 57.41, 316.89°)
OKLaboklab(73.19% 0.106 -0.1085)
OKLCHoklch(73.19% 0.152 314.3)
XYZxyz(48.4232, 36.5294, 82.3260)
Luminance0.3653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB89EA #A8EA89
analogous
#9B89EA #CB89EA #EA89D8
triadic
#CB89EA #EACB89 #89EACB
tetradic
#CB89EA #EA9B89 #A8EA89 #89D8EA
square
#CB89EA #EA9B89 #A8EA89 #89D8EA
split-complementary
#CB89EA #D8EA89 #89EA9B
monochromatic
#9C26D3 #B455E1 #CB89EA #E2BDF3 #F4E5FA

Accessibility & contrast

On white

2.53
#CB89EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#CB89EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB89EA
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB89EA#FFFFFF#000000##000000
##CB89EA1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEE
Deuteranopia (green-blind)
#88A5E7
Tritanopia (blue-blind)
#C997AE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb89ea;
/* rgb */ color: rgb(203, 137, 234);
/* oklch */ color: oklch(73.2% 0.152 314.3);
Tailwind
colors: {
  custom: {
    50: '#dcacf1',
    500: '#cb89ea',
    950: '#000000',
  },
}
SCSS
$custom: #cb89ea;
$custom-light: #dcacf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb89ea",
  "rgb": {
    "r": 203,
    "g": 137,
    "b": 234
  },
  "hsl": {
    "h": 280.825,
    "s": 69.784,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73187,
    "c": 0.15167,
    "h": 314.3
  },
  "luminance": 0.36528
}

Semantic roles & 50–950 ramp

primary
#CB89EA
secondary
#E1F2D9
accent
#D21450
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB89EA

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

Preview Lab → · Contrast checker → · Palette generator →

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