#CB76E4#CB76E4

#CB76E4 is a light, vivid purple. Relative luminance 0.313; OKLCH L 70.0% C 0.177 H 318.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CB76E4
RGBrgb(203, 118, 228)
HSLhsl(286, 67%, 68%)
HSVhsv(286, 48%, 89%)
CMYKcmyk(11%, 48.2%, 0%, 10.6%)
CIE-LABlab(62.72, 50.69, -42.49)
CIE-LCHlch(62.72, 66.14, 320.03°)
OKLaboklab(69.96% 0.1316 -0.1177)
OKLCHoklch(69.96% 0.177 318.2)
XYZxyz(45.1087, 31.2564, 77.0407)
Luminance0.3125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB76E4 #8FE476
analogous
#9476E4 #CB76E4 #E476C6
triadic
#CB76E4 #E4CB76 #76E4CB
tetradic
#CB76E4 #E49476 #8FE476 #76C6E4
square
#CB76E4 #E49476 #8FE476 #76C6E4
split-complementary
#CB76E4 #C6E476 #76E494
monochromatic
#9925BB #B843DA #CB76E4 #DEA9EE #F2DCF8

Accessibility & contrast

On white

2.90
#CB76E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#CB76E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB76E4
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB76E4#FFFFFF#000000##000000
##CB76E41.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6292E8
Deuteranopia (green-blind)
#7B9BE1
Tritanopia (blue-blind)
#CB85A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb76e4;
/* rgb */ color: rgb(203, 118, 228);
/* oklch */ color: oklch(70.0% 0.177 318.2);
Tailwind
colors: {
  custom: {
    50: '#dda0ed',
    500: '#cb76e4',
    950: '#000000',
  },
}
SCSS
$custom: #cb76e4;
$custom-light: #dda0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cb76e4",
  "rgb": {
    "r": 203,
    "g": 118,
    "b": 228
  },
  "hsl": {
    "h": 286.364,
    "s": 67.073,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69963,
    "c": 0.17657,
    "h": 318.2
  },
  "luminance": 0.31255
}

Semantic roles & 50–950 ramp

primary
#CB76E4
secondary
#D2ECCA
accent
#CF1740
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB76E4

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

Preview Lab → · Contrast checker → · Palette generator →

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