#CB76EB#CB76EB

#CB76EB is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.3% C 0.184 H 316.1°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#CB76EB
RGBrgb(203, 118, 235)
HSLhsl(284, 75%, 69%)
HSVhsv(284, 50%, 92%)
CMYKcmyk(13.6%, 49.8%, 0%, 7.8%)
CIE-LABlab(63.05, 52.09, -45.85)
CIE-LCHlch(63.05, 69.40, 318.64°)
OKLaboklab(70.32% 0.1325 -0.1275)
OKLCHoklch(70.32% 0.184 316.1)
XYZxyz(46.1002, 31.6529, 82.2624)
Luminance0.3165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB76EB #96EB76
analogous
#9176EB #CB76EB #EB76D0
triadic
#CB76EB #EBCB76 #76EBCB
tetradic
#CB76EB #EB9176 #96EB76 #76D0EB
square
#CB76EB #EB9176 #96EB76 #76D0EB
split-complementary
#CB76EB #D0EB76 #76EB91
monochromatic
#9A1DC9 #B741E3 #CB76EB #DFABF3 #F4E1FB

Accessibility & contrast

On white

2.86
#CB76EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#CB76EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB76EB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB76EB#FFFFFF#000000##000000
##CB76EB1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EF
Deuteranopia (green-blind)
#779BE8
Tritanopia (blue-blind)
#CA88A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb76eb;
/* rgb */ color: rgb(203, 118, 235);
/* oklch */ color: oklch(70.3% 0.184 316.1);
Tailwind
colors: {
  custom: {
    50: '#dda0f2',
    500: '#cb76eb',
    950: '#000000',
  },
}
SCSS
$custom: #cb76eb;
$custom-light: #dda0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb76eb",
  "rgb": {
    "r": 203,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 283.59,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70317,
    "c": 0.18384,
    "h": 316.1
  },
  "luminance": 0.31652
}

Semantic roles & 50–950 ramp

primary
#CB76EB
secondary
#D7EFCD
accent
#D70F45
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB76EB

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

Preview Lab → · Contrast checker → · Palette generator →

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