#CB76EC#CB76EC

#CB76EC is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.4% C 0.185 H 315.8°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CB76EC
RGBrgb(203, 118, 236)
HSLhsl(283, 76%, 69%)
HSVhsv(283, 50%, 93%)
CMYKcmyk(14%, 50%, 0%, 7.5%)
CIE-LABlab(63.10, 52.30, -46.33)
CIE-LCHlch(63.10, 69.87, 318.46°)
OKLaboklab(70.37% 0.1326 -0.1289)
OKLCHoklch(70.37% 0.185 315.8)
XYZxyz(46.2451, 31.7109, 83.0254)
Luminance0.3171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB76EC #97EC76
analogous
#9076EC #CB76EC #EC76D2
triadic
#CB76EC #ECCB76 #76ECCB
tetradic
#CB76EC #EC9076 #97EC76 #76D2EC
square
#CB76EC #EC9076 #97EC76 #76D2EC
split-complementary
#CB76EC #D2EC76 #76EC90
monochromatic
#9A1CCB #B740E5 #CB76EC #DFACF3 #F4E1FB

Accessibility & contrast

On white

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

On black

7.34
#CB76EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB76EC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB76EC#FFFFFF#000000##000000
##CB76EC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F0
Deuteranopia (green-blind)
#779BE9
Tritanopia (blue-blind)
#C988A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb76ec;
/* rgb */ color: rgb(203, 118, 236);
/* oklch */ color: oklch(70.4% 0.185 315.8);
Tailwind
colors: {
  custom: {
    50: '#dda0f2',
    500: '#cb76ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb76ec;
$custom-light: #dda0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb76ec",
  "rgb": {
    "r": 203,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 283.22,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70369,
    "c": 0.18489,
    "h": 315.8
  },
  "luminance": 0.3171
}

Semantic roles & 50–950 ramp

primary
#CB76EC
secondary
#D7F0CE
accent
#D80E46
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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