#CB76DB#CB76DB

#CB76DB is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.5% C 0.167 H 321.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CB76DB
RGBrgb(203, 118, 219)
HSLhsl(290, 58%, 66%)
HSVhsv(290, 46%, 86%)
CMYKcmyk(7.3%, 46.1%, 0%, 14.1%)
CIE-LABlab(62.31, 48.92, -38.11)
CIE-LCHlch(62.31, 62.01, 322.08°)
OKLaboklab(69.52% 0.1303 -0.1051)
OKLCHoklch(69.52% 0.167 321.1)
XYZxyz(43.8917, 30.7696, 70.6312)
Luminance0.3077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB76DB #86DB76
analogous
#9876DB #CB76DB #DB76B8
triadic
#CB76DB #DBCB76 #76DBCB
tetradic
#CB76DB #DB9876 #86DB76 #76B8DB
square
#CB76DB #DB9876 #86DB76 #76B8DB
split-complementary
#CB76DB #B8DB76 #76DB98
monochromatic
#962DAA #B946CE #CB76DB #DDA6E8 #F0D7F4

Accessibility & contrast

On white

2.94
#CB76DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#CB76DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB76DB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB76DB#FFFFFF#000000##000000
##CB76DB1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6791DE
Deuteranopia (green-blind)
#7F9AD8
Tritanopia (blue-blind)
#CD839E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb76db;
/* rgb */ color: rgb(203, 118, 219);
/* oklch */ color: oklch(69.5% 0.167 321.1);
Tailwind
colors: {
  custom: {
    50: '#dda0e6',
    500: '#cb76db',
    950: '#000000',
  },
}
SCSS
$custom: #cb76db;
$custom-light: #dda0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb76db",
  "rgb": {
    "r": 203,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 290.495,
    "s": 58.382,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69524,
    "c": 0.16739,
    "h": 321.1
  },
  "luminance": 0.30768
}

Semantic roles & 50–950 ramp

primary
#CB76DB
secondary
#CBE7C6
accent
#C6203A
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB76DB

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

Preview Lab → · Contrast checker → · Palette generator →

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