#CB76E3#CB76E3

#CB76E3 is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.9% C 0.176 H 318.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CB76E3
RGBrgb(203, 118, 227)
HSLhsl(287, 66%, 68%)
HSVhsv(287, 48%, 89%)
CMYKcmyk(10.6%, 48%, 0%, 11%)
CIE-LABlab(62.68, 50.49, -42.00)
CIE-LCHlch(62.68, 65.68, 320.24°)
OKLaboklab(69.91% 0.1315 -0.1163)
OKLCHoklch(69.91% 0.176 318.5)
XYZxyz(44.9703, 31.2010, 76.3117)
Luminance0.3120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB76E3 #8EE376
analogous
#9476E3 #CB76E3 #E376C5
triadic
#CB76E3 #E3CB76 #76E3CB
tetradic
#CB76E3 #E39476 #8EE376 #76C5E3
square
#CB76E3 #E39476 #8EE376 #76C5E3
split-complementary
#CB76E3 #C5E376 #76E394
monochromatic
#9826B9 #B843D9 #CB76E3 #DEA9ED #F2DCF8

Accessibility & contrast

On white

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

On black

7.24
#CB76E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB76E3
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB76E3#FFFFFF#000000##000000
##CB76E31.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6392E7
Deuteranopia (green-blind)
#7C9BE0
Tritanopia (blue-blind)
#CB85A2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb76e3;
/* rgb */ color: rgb(203, 118, 227);
/* oklch */ color: oklch(69.9% 0.176 318.5);
Tailwind
colors: {
  custom: {
    50: '#dda0ec',
    500: '#cb76e3',
    950: '#000000',
  },
}
SCSS
$custom: #cb76e3;
$custom-light: #dda0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb76e3",
  "rgb": {
    "r": 203,
    "g": 118,
    "b": 227
  },
  "hsl": {
    "h": 286.789,
    "s": 66.061,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69914,
    "c": 0.17554,
    "h": 318.5
  },
  "luminance": 0.31199
}

Semantic roles & 50–950 ramp

primary
#CB76E3
secondary
#D1EBC9
accent
#CE1840
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB76E3

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

Preview Lab → · Contrast checker → · Palette generator →

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