#CB89EF#CB89EF

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

Color values

HEX#CB89EF
RGBrgb(203, 137, 239)
HSLhsl(279, 76%, 74%)
HSVhsv(279, 43%, 94%)
CMYKcmyk(15.1%, 42.7%, 0%, 6.3%)
CIE-LABlab(67.14, 42.96, -41.64)
CIE-LCHlch(67.14, 59.83, 315.89°)
OKLaboklab(73.42% 0.1069 -0.1154)
OKLCHoklch(73.42% 0.157 312.8)
XYZxyz(49.1516, 36.8208, 86.1625)
Luminance0.3682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB89EF #ADEF89
analogous
#9889EF #CB89EF #EF89E0
triadic
#CB89EF #EFCB89 #89EFCB
tetradic
#CB89EF #EF9889 #ADEF89 #89E0EF
square
#CB89EF #EF9889 #ADEF89 #89E0EF
split-complementary
#CB89EF #E0EF89 #89EF98
monochromatic
#9B1EDF #B353E8 #CB89EF #E3BFF6 #F3E4FB

Accessibility & contrast

On white

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

On black

8.36
#CB89EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB89EF
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB89EF#FFFFFF#000000##000000
##CB89EF1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#86A5EC
Tritanopia (blue-blind)
#C898B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb89ef;
/* rgb */ color: rgb(203, 137, 239);
/* oklch */ color: oklch(73.4% 0.157 312.8);
Tailwind
colors: {
  custom: {
    50: '#dcadf4',
    500: '#cb89ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb89ef;
$custom-light: #dcadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb89ef",
  "rgb": {
    "r": 203,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 278.824,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73424,
    "c": 0.15731,
    "h": 312.8
  },
  "luminance": 0.3682
}

Semantic roles & 50–950 ramp

primary
#CB89EF
secondary
#E2F3D8
accent
#D80D55
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB89EF

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

Preview Lab → · Contrast checker → · Palette generator →

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