#CB6ECC#CB6ECC

#CB6ECC is a light, vivid purple. Relative luminance 0.282; OKLCH L 67.6% C 0.166 H 326.8°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#CB6ECC
RGBrgb(203, 110, 204)
HSLhsl(299, 48%, 62%)
HSVhsv(299, 46%, 80%)
CMYKcmyk(0.5%, 46.1%, 0%, 20%)
CIE-LABlab(60.08, 50.18, -33.16)
CIE-LCHlch(60.08, 60.15, 326.55°)
OKLaboklab(67.65% 0.139 -0.0909)
OKLCHoklch(67.65% 0.166 326.8)
XYZxyz(41.1028, 28.2101, 60.3951)
Luminance0.2821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6ECC #6FCC6E
analogous
#9C6ECC #CB6ECC #CC6E9E
triadic
#CB6ECC #CCCB6E #6ECCCB
tetradic
#CB6ECC #CC9C6E #6FCC6E #6E9ECC
square
#CB6ECC #CC9C6E #6FCC6E #6E9ECC
split-complementary
#CB6ECC #9ECC6E #6ECC9C
monochromatic
#8D328E #BA42BB #CB6ECC #DB9BDC #EBC9EC

Accessibility & contrast

On white

3.16
#CB6ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#CB6ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB6ECC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6ECC#FFFFFF#000000##000000
##CB6ECC1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6589CF
Deuteranopia (green-blind)
#8095C9
Tritanopia (blue-blind)
#D07894
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cb6ecc;
/* rgb */ color: rgb(203, 110, 204);
/* oklch */ color: oklch(67.6% 0.166 326.8);
Tailwind
colors: {
  custom: {
    50: '#dd9adc',
    500: '#cb6ecc',
    950: '#000000',
  },
}
SCSS
$custom: #cb6ecc;
$custom-light: #dd9adc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6ecc",
  "rgb": {
    "r": 203,
    "g": 110,
    "b": 204
  },
  "hsl": {
    "h": 299.362,
    "s": 47.959,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67647,
    "c": 0.16606,
    "h": 326.8
  },
  "luminance": 0.28208
}

Semantic roles & 50–950 ramp

primary
#CB6ECC
secondary
#BADCB9
accent
#BB2A2C
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CB6ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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