#CB6CEB#CB6CEB

#CB6CEB is a light, vivid purple. Relative luminance 0.294; OKLCH L 68.9% C 0.199 H 316.9°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#CB6CEB
RGBrgb(203, 108, 235)
HSLhsl(285, 76%, 67%)
HSVhsv(285, 54%, 92%)
CMYKcmyk(13.6%, 54%, 0%, 7.8%)
CIE-LABlab(61.15, 57.10, -48.86)
CIE-LCHlch(61.15, 75.15, 319.45°)
OKLaboklab(68.91% 0.1457 -0.1361)
OKLCHoklch(68.91% 0.199 316.9)
XYZxyz(44.9844, 29.4214, 81.8904)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6CEB #8CEB6C
analogous
#8C6CEB #CB6CEB #EB6CCB
triadic
#CB6CEB #EBCB6C #6CEBCB
tetradic
#CB6CEB #EB8C6C #8CEB6C #6CCBEB
square
#CB6CEB #EB8C6C #8CEB6C #6CCBEB
split-complementary
#CB6CEB #CBEB6C #6CEB8C
monochromatic
#981AC2 #B836E4 #CB6CEB #DEA2F2 #F1D8FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB6CEB#FFFFFF#000000##000000
##CB6CEB1.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)
#4F8EEF
Deuteranopia (green-blind)
#6F97E8
Tritanopia (blue-blind)
#CA80A2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cb6ceb;
/* rgb */ color: rgb(203, 108, 235);
/* oklch */ color: oklch(68.9% 0.199 316.9);
Tailwind
colors: {
  custom: {
    50: '#dd9af2',
    500: '#cb6ceb',
    950: '#000000',
  },
}
SCSS
$custom: #cb6ceb;
$custom-light: #dd9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6ceb",
  "rgb": {
    "r": 203,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 284.882,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68914,
    "c": 0.19938,
    "h": 316.9
  },
  "luminance": 0.2942
}

Semantic roles & 50–950 ramp

primary
#CB6CEB
secondary
#CFEDC5
accent
#D80D40
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB6CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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