#CB6DEC#CB6DEC

#CB6DEC is a light, vivid purple. Relative luminance 0.297; OKLCH L 69.1% C 0.199 H 316.6°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#CB6DEC
RGBrgb(203, 109, 236)
HSLhsl(284, 77%, 68%)
HSVhsv(284, 54%, 93%)
CMYKcmyk(14%, 53.8%, 0%, 7.5%)
CIE-LABlab(61.39, 56.81, -49.04)
CIE-LCHlch(61.39, 75.05, 319.20°)
OKLaboklab(69.1% 0.1444 -0.1367)
OKLCHoklch(69.1% 0.199 316.6)
XYZxyz(45.2353, 29.6914, 82.6888)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6DEC #8EEC6D
analogous
#8B6DEC #CB6DEC #EC6DCE
triadic
#CB6DEC #ECCB6D #6DECCB
tetradic
#CB6DEC #EC8B6D #8EEC6D #6DCEEC
square
#CB6DEC #EC8B6D #8EEC6D #6DCEEC
split-complementary
#CB6DEC #CEEC6D #6DEC8B
monochromatic
#981AC5 #B837E5 #CB6DEC #DEA3F3 #F2D9FA

Accessibility & contrast

On white

3.03
#CB6DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#CB6DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB6DEC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6DEC#FFFFFF#000000##000000
##CB6DEC1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EF0
Deuteranopia (green-blind)
#6F97E9
Tritanopia (blue-blind)
#CA81A2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cb6dec;
/* rgb */ color: rgb(203, 109, 236);
/* oklch */ color: oklch(69.1% 0.199 316.6);
Tailwind
colors: {
  custom: {
    50: '#dd9af2',
    500: '#cb6dec',
    950: '#000000',
  },
}
SCSS
$custom: #cb6dec;
$custom-light: #dd9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6dec",
  "rgb": {
    "r": 203,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 284.409,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69103,
    "c": 0.19886,
    "h": 316.6
  },
  "luminance": 0.2969
}

Semantic roles & 50–950 ramp

primary
#CB6DEC
secondary
#D1EEC7
accent
#D90C42
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB6DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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