#CB6FE8#CB6FE8

#CB6FE8 is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.2% C 0.192 H 317.5°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#CB6FE8
RGBrgb(203, 111, 232)
HSLhsl(286, 72%, 67%)
HSVhsv(286, 52%, 91%)
CMYKcmyk(12.5%, 52.2%, 0%, 9%)
CIE-LABlab(61.56, 55.02, -46.54)
CIE-LCHlch(61.56, 72.07, 319.77°)
OKLaboklab(69.17% 0.1415 -0.1294)
OKLCHoklch(69.17% 0.192 317.5)
XYZxyz(44.8765, 29.8932, 79.7343)
Luminance0.2989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6FE8 #8CE86F
analogous
#8F6FE8 #CB6FE8 #E86FC8
triadic
#CB6FE8 #E8CB6F #6FE8CB
tetradic
#CB6FE8 #E88F6F #8CE86F #6FC8E8
square
#CB6FE8 #E88F6F #8CE86F #6FC8E8
split-complementary
#CB6FE8 #C8E86F #6FE88F
monochromatic
#981EBE #B83AE0 #CB6FE8 #DEA4F0 #F1D9F9

Accessibility & contrast

On white

3.01
#CB6FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#CB6FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB6FE8
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6FE8#FFFFFF#000000##000000
##CB6FE81.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#568FEC
Deuteranopia (green-blind)
#7398E5
Tritanopia (blue-blind)
#CA81A1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb6fe8;
/* rgb */ color: rgb(203, 111, 232);
/* oklch */ color: oklch(69.2% 0.192 317.5);
Tailwind
colors: {
  custom: {
    50: '#dd9cf0',
    500: '#cb6fe8',
    950: '#000000',
  },
}
SCSS
$custom: #cb6fe8;
$custom-light: #dd9cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6fe8",
  "rgb": {
    "r": 203,
    "g": 111,
    "b": 232
  },
  "hsl": {
    "h": 285.62,
    "s": 72.455,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69167,
    "c": 0.19176,
    "h": 317.5
  },
  "luminance": 0.29892
}

Semantic roles & 50–950 ramp

primary
#CB6FE8
secondary
#CFECC6
accent
#D51140
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB6FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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