#CB6BEE#CB6BEE

#CB6BEE is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 68.9% C 0.204 H 316.2°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#CB6BEE
RGBrgb(203, 107, 238)
HSLhsl(284, 79%, 68%)
HSVhsv(284, 55%, 93%)
CMYKcmyk(14.7%, 55%, 0%, 6.7%)
CIE-LABlab(61.12, 58.19, -50.58)
CIE-LCHlch(61.12, 77.10, 319.00°)
OKLaboklab(68.94% 0.1472 -0.1411)
OKLCHoklch(68.94% 0.204 316.2)
XYZxyz(45.3166, 29.3865, 84.1574)
Luminance0.2939 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6BEE #8EEE6B
analogous
#896BEE #CB6BEE #EE6BD0
triadic
#CB6BEE #EECB6B #6BEECB
tetradic
#CB6BEE #EE896B #8EEE6B #6BD0EE
square
#CB6BEE #EE896B #8EEE6B #6BD0EE
split-complementary
#CB6BEE #D0EE6B #6BEE89
monochromatic
#9817C8 #B834E8 #CB6BEE #DEA2F4 #F2D9FB

Accessibility & contrast

On white

3.05
#CB6BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#CB6BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB6BEE
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6BEE#FFFFFF#000000##000000
##CB6BEE1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8EF2
Deuteranopia (green-blind)
#6C96EB
Tritanopia (blue-blind)
#C980A3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cb6bee;
/* rgb */ color: rgb(203, 107, 238);
/* oklch */ color: oklch(68.9% 0.204 316.2);
Tailwind
colors: {
  custom: {
    50: '#de99f4',
    500: '#cb6bee',
    950: '#000000',
  },
}
SCSS
$custom: #cb6bee;
$custom-light: #de99f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6bee",
  "rgb": {
    "r": 203,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 283.969,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68941,
    "c": 0.2039,
    "h": 316.2
  },
  "luminance": 0.29385
}

Semantic roles & 50–950 ramp

primary
#CB6BEE
secondary
#D1EFC6
accent
#DC0A42
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB6BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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