#CB76E2#CB76E2

#CB76E2 is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.9% C 0.175 H 318.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CB76E2
RGBrgb(203, 118, 226)
HSLhsl(287, 65%, 67%)
HSVhsv(287, 48%, 89%)
CMYKcmyk(10.2%, 47.8%, 0%, 11.4%)
CIE-LABlab(62.63, 50.29, -41.52)
CIE-LCHlch(62.63, 65.21, 320.46°)
OKLaboklab(69.86% 0.1313 -0.1149)
OKLCHoklch(69.86% 0.175 318.8)
XYZxyz(44.8327, 31.1460, 75.5869)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB76E2 #8DE276
analogous
#9576E2 #CB76E2 #E276C3
triadic
#CB76E2 #E2CB76 #76E2CB
tetradic
#CB76E2 #E29576 #8DE276 #76C3E2
square
#CB76E2 #E29576 #8DE276 #76C3E2
split-complementary
#CB76E2 #C3E276 #76E295
monochromatic
#9827B7 #B843D7 #CB76E2 #DEA9ED #F1DBF7

Accessibility & contrast

On white

2.91
#CB76E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#CB76E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB76E2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB76E2#FFFFFF#000000##000000
##CB76E21.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6392E6
Deuteranopia (green-blind)
#7C9ADF
Tritanopia (blue-blind)
#CB85A2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb76e2;
/* rgb */ color: rgb(203, 118, 226);
/* oklch */ color: oklch(69.9% 0.175 318.8);
Tailwind
colors: {
  custom: {
    50: '#dda0eb',
    500: '#cb76e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb76e2;
$custom-light: #dda0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb76e2",
  "rgb": {
    "r": 203,
    "g": 118,
    "b": 226
  },
  "hsl": {
    "h": 287.222,
    "s": 65.06,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69864,
    "c": 0.17451,
    "h": 318.8
  },
  "luminance": 0.31144
}

Semantic roles & 50–950 ramp

primary
#CB76E2
secondary
#D0EBC9
accent
#CD193F
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB76E2

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

Preview Lab → · Contrast checker → · Palette generator →

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