#CB76E8#CB76E8

#CB76E8 is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.2% C 0.181 H 317.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CB76E8
RGBrgb(203, 118, 232)
HSLhsl(285, 71%, 69%)
HSVhsv(285, 49%, 91%)
CMYKcmyk(12.5%, 49.1%, 0%, 9%)
CIE-LABlab(62.91, 51.49, -44.42)
CIE-LCHlch(62.91, 68.00, 319.22°)
OKLaboklab(70.16% 0.1321 -0.1233)
OKLCHoklch(70.16% 0.181 317)
XYZxyz(45.6704, 31.4810, 79.9990)
Luminance0.3148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB76E8 #93E876
analogous
#9276E8 #CB76E8 #E876CC
triadic
#CB76E8 #E8CB76 #76E8CB
tetradic
#CB76E8 #E89276 #93E876 #76CCE8
square
#CB76E8 #E89276 #93E876 #76CCE8
split-complementary
#CB76E8 #CCE876 #76E892
monochromatic
#9A21C3 #B742DF #CB76E8 #DFAAF1 #F3DFFA

Accessibility & contrast

On white

2.88
#CB76E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#CB76E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB76E8
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB76E8#FFFFFF#000000##000000
##CB76E81.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6093EC
Deuteranopia (green-blind)
#799BE5
Tritanopia (blue-blind)
#CA87A4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb76e8;
/* rgb */ color: rgb(203, 118, 232);
/* oklch */ color: oklch(70.2% 0.181 317.0);
Tailwind
colors: {
  custom: {
    50: '#dda0f0',
    500: '#cb76e8',
    950: '#000000',
  },
}
SCSS
$custom: #cb76e8;
$custom-light: #dda0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb76e8",
  "rgb": {
    "r": 203,
    "g": 118,
    "b": 232
  },
  "hsl": {
    "h": 284.737,
    "s": 71.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70164,
    "c": 0.18071,
    "h": 317
  },
  "luminance": 0.3148
}

Semantic roles & 50–950 ramp

primary
#CB76E8
secondary
#D5EECC
accent
#D31243
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB76E8

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

Preview Lab → · Contrast checker → · Palette generator →

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