#CB89EE#CB89EE

#CB89EE is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.4% C 0.156 H 313.1°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#CB89EE
RGBrgb(203, 137, 238)
HSLhsl(279, 75%, 74%)
HSVhsv(279, 42%, 93%)
CMYKcmyk(14.7%, 42.4%, 0%, 6.7%)
CIE-LABlab(67.10, 42.75, -41.16)
CIE-LCHlch(67.10, 59.34, 316.08°)
OKLaboklab(73.38% 0.1067 -0.114)
OKLCHoklch(73.38% 0.156 313.1)
XYZxyz(49.0043, 36.7619, 85.3866)
Luminance0.3676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB89EE #ACEE89
analogous
#9889EE #CB89EE #EE89DE
triadic
#CB89EE #EECB89 #89EECB
tetradic
#CB89EE #EE9889 #ACEE89 #89DEEE
square
#CB89EE #EE9889 #ACEE89 #89DEEE
split-complementary
#CB89EE #DEEE89 #89EE98
monochromatic
#9B20DD #B354E6 #CB89EE #E3BEF6 #F3E4FB

Accessibility & contrast

On white

2.51
#CB89EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#CB89EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB89EE
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB89EE#FFFFFF#000000##000000
##CB89EE1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F2
Deuteranopia (green-blind)
#86A5EB
Tritanopia (blue-blind)
#C898B0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb89ee;
/* rgb */ color: rgb(203, 137, 238);
/* oklch */ color: oklch(73.4% 0.156 313.1);
Tailwind
colors: {
  custom: {
    50: '#dcadf4',
    500: '#cb89ee',
    950: '#000000',
  },
}
SCSS
$custom: #cb89ee;
$custom-light: #dcadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb89ee",
  "rgb": {
    "r": 203,
    "g": 137,
    "b": 238
  },
  "hsl": {
    "h": 279.208,
    "s": 74.815,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73376,
    "c": 0.15618,
    "h": 313.1
  },
  "luminance": 0.36761
}

Semantic roles & 50–950 ramp

primary
#CB89EE
secondary
#E1F3D8
accent
#D70F54
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB89EE

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

Preview Lab → · Contrast checker → · Palette generator →

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