#CB76EA#CB76EA

#CB76EA is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.3% C 0.183 H 316.4°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CB76EA
RGBrgb(203, 118, 234)
HSLhsl(284, 73%, 69%)
HSVhsv(284, 50%, 92%)
CMYKcmyk(13.2%, 49.6%, 0%, 8.2%)
CIE-LABlab(63.01, 51.89, -45.38)
CIE-LCHlch(63.01, 68.93, 318.83°)
OKLaboklab(70.27% 0.1324 -0.1261)
OKLCHoklch(70.27% 0.183 316.4)
XYZxyz(45.9561, 31.5953, 81.5036)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB76EA #95EA76
analogous
#9176EA #CB76EA #EA76CF
triadic
#CB76EA #EACB76 #76EACB
tetradic
#CB76EA #EA9176 #95EA76 #76CFEA
square
#CB76EA #EA9176 #95EA76 #76CFEA
split-complementary
#CB76EA #CFEA76 #76EA91
monochromatic
#9A1FC7 #B741E2 #CB76EA #DFABF2 #F3E0FA

Accessibility & contrast

On white

2.87
#CB76EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#CB76EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB76EA
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB76EA#FFFFFF#000000##000000
##CB76EA1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EE
Deuteranopia (green-blind)
#789BE7
Tritanopia (blue-blind)
#CA87A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb76ea;
/* rgb */ color: rgb(203, 118, 234);
/* oklch */ color: oklch(70.3% 0.183 316.4);
Tailwind
colors: {
  custom: {
    50: '#dda0f1',
    500: '#cb76ea',
    950: '#000000',
  },
}
SCSS
$custom: #cb76ea;
$custom-light: #dda0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb76ea",
  "rgb": {
    "r": 203,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 283.966,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70266,
    "c": 0.18281,
    "h": 316.4
  },
  "luminance": 0.31594
}

Semantic roles & 50–950 ramp

primary
#CB76EA
secondary
#D6EFCD
accent
#D61045
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB76EA

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

Preview Lab → · Contrast checker → · Palette generator →

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