#CB6FCB#CB6FCB

#CB6FCB is a light, vivid purple. Relative luminance 0.284; OKLCH L 67.7% C 0.163 H 327.2°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#CB6FCB
RGBrgb(203, 111, 203)
HSLhsl(300, 47%, 62%)
HSVhsv(300, 45%, 80%)
CMYKcmyk(0%, 45.3%, 0%, 20.4%)
CIE-LABlab(60.23, 49.50, -32.36)
CIE-LCHlch(60.23, 59.13, 326.83°)
OKLaboklab(67.75% 0.1374 -0.0886)
OKLCHoklch(67.75% 0.163 327.2)
XYZxyz(41.0918, 28.3793, 59.8016)
Luminance0.2838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6FCB #6FCB6F
analogous
#9D6FCB #CB6FCB #CB6F9D
triadic
#CB6FCB #CBCB6F #6FCBCB
tetradic
#CB6FCB #CB9D6F #6FCB6F #6F9DCB
square
#CB6FCB #CB9D6F #6FCB6F #6F9DCB
split-complementary
#CB6FCB #9DCB6F #6FCB9D
monochromatic
#8D338D #BA43BA #CB6FCB #DB9CDB #EBC9EB

Accessibility & contrast

On white

3.15
#CB6FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#CB6FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB6FCB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6FCB#FFFFFF#000000##000000
##CB6FCB1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#678ACE
Deuteranopia (green-blind)
#8195C8
Tritanopia (blue-blind)
#D07894
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cb6fcb;
/* rgb */ color: rgb(203, 111, 203);
/* oklch */ color: oklch(67.7% 0.163 327.2);
Tailwind
colors: {
  custom: {
    50: '#dd9bdb',
    500: '#cb6fcb',
    950: '#000000',
  },
}
SCSS
$custom: #cb6fcb;
$custom-light: #dd9bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6fcb",
  "rgb": {
    "r": 203,
    "g": 111,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 46.939,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67746,
    "c": 0.16348,
    "h": 327.2
  },
  "luminance": 0.28377
}

Semantic roles & 50–950 ramp

primary
#CB6FCB
secondary
#BADCBA
accent
#BA2B2B
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CB6FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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