#CB89ED#CB89ED

#CB89ED is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.3% C 0.155 H 313.4°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#CB89ED
RGBrgb(203, 137, 237)
HSLhsl(280, 74%, 73%)
HSVhsv(280, 42%, 93%)
CMYKcmyk(14.3%, 42.2%, 0%, 7.1%)
CIE-LABlab(67.05, 42.54, -40.68)
CIE-LCHlch(67.05, 58.86, 316.28°)
OKLaboklab(73.33% 0.1066 -0.1126)
OKLCHoklch(73.33% 0.155 313.4)
XYZxyz(48.8578, 36.7033, 84.6150)
Luminance0.3670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB89ED #ABED89
analogous
#9989ED #CB89ED #ED89DD
triadic
#CB89ED #EDCB89 #89EDCB
tetradic
#CB89ED #ED9989 #ABED89 #89DDED
square
#CB89ED #ED9989 #ABED89 #89DDED
split-complementary
#CB89ED #DDED89 #89ED99
monochromatic
#9B21DA #B454E5 #CB89ED #E2BEF5 #F3E4FB

Accessibility & contrast

On white

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

On black

8.34
#CB89ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB89ED
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB89ED#FFFFFF#000000##000000
##CB89ED1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FF1
Deuteranopia (green-blind)
#87A5EA
Tritanopia (blue-blind)
#C897B0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb89ed;
/* rgb */ color: rgb(203, 137, 237);
/* oklch */ color: oklch(73.3% 0.155 313.4);
Tailwind
colors: {
  custom: {
    50: '#dcadf3',
    500: '#cb89ed',
    950: '#000000',
  },
}
SCSS
$custom: #cb89ed;
$custom-light: #dcadf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb89ed",
  "rgb": {
    "r": 203,
    "g": 137,
    "b": 237
  },
  "hsl": {
    "h": 279.6,
    "s": 73.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73328,
    "c": 0.15504,
    "h": 313.4
  },
  "luminance": 0.36702
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB89ED

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

Preview Lab → · Contrast checker → · Palette generator →

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