#CB76DC#CB76DC

#CB76DC is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.6% C 0.168 H 320.8°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CB76DC
RGBrgb(203, 118, 220)
HSLhsl(290, 59%, 66%)
HSVhsv(290, 46%, 86%)
CMYKcmyk(7.7%, 46.4%, 0%, 13.7%)
CIE-LABlab(62.36, 49.11, -38.60)
CIE-LCHlch(62.36, 62.46, 321.83°)
OKLaboklab(69.57% 0.1304 -0.1065)
OKLCHoklch(69.57% 0.168 320.8)
XYZxyz(44.0238, 30.8224, 71.3266)
Luminance0.3082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB76DC #87DC76
analogous
#9876DC #CB76DC #DC76BA
triadic
#CB76DC #DCCB76 #76DCCB
tetradic
#CB76DC #DC9876 #87DC76 #76BADC
square
#CB76DC #DC9876 #87DC76 #76BADC
split-complementary
#CB76DC #BADC76 #76DC98
monochromatic
#962CAC #B845D0 #CB76DC #DEA7E8 #F0D7F5

Accessibility & contrast

On white

2.93
#CB76DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#CB76DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB76DC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB76DC#FFFFFF#000000##000000
##CB76DC1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6791E0
Deuteranopia (green-blind)
#7F9AD9
Tritanopia (blue-blind)
#CD839F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb76dc;
/* rgb */ color: rgb(203, 118, 220);
/* oklch */ color: oklch(69.6% 0.168 320.8);
Tailwind
colors: {
  custom: {
    50: '#dda0e7',
    500: '#cb76dc',
    950: '#000000',
  },
}
SCSS
$custom: #cb76dc;
$custom-light: #dda0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb76dc",
  "rgb": {
    "r": 203,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 290,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69572,
    "c": 0.16839,
    "h": 320.8
  },
  "luminance": 0.30821
}

Semantic roles & 50–950 ramp

primary
#CB76DC
secondary
#CCE8C6
accent
#C71F3B
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB76DC

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

Preview Lab → · Contrast checker → · Palette generator →

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