#CB77EC#CB77EC

#CB77EC is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.5% C 0.183 H 315.7°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CB77EC
RGBrgb(203, 119, 236)
HSLhsl(283, 75%, 70%)
HSVhsv(283, 50%, 93%)
CMYKcmyk(14%, 49.6%, 0%, 7.5%)
CIE-LABlab(63.30, 51.79, -46.02)
CIE-LCHlch(63.30, 69.28, 318.37°)
OKLaboklab(70.51% 0.1312 -0.128)
OKLCHoklch(70.51% 0.183 315.7)
XYZxyz(46.3634, 31.9477, 83.0648)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77EC #98EC77
analogous
#9177EC #CB77EC #EC77D3
triadic
#CB77EC #ECCB77 #77ECCB
tetradic
#CB77EC #EC9177 #98EC77 #77D3EC
square
#CB77EC #EC9177 #98EC77 #77D3EC
split-complementary
#CB77EC #D3EC77 #77EC91
monochromatic
#9B1DCC #B641E4 #CB77EC #E0ADF4 #F4E2FB

Accessibility & contrast

On white

2.84
#CB77EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CB77EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB77EC
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB77EC#FFFFFF#000000##000000
##CB77EC1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94F0
Deuteranopia (green-blind)
#789CE9
Tritanopia (blue-blind)
#C989A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb77ec;
/* rgb */ color: rgb(203, 119, 236);
/* oklch */ color: oklch(70.5% 0.183 315.7);
Tailwind
colors: {
  custom: {
    50: '#dda1f2',
    500: '#cb77ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb77ec;
$custom-light: #dda1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77ec",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 283.077,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70514,
    "c": 0.1833,
    "h": 315.7
  },
  "luminance": 0.31946
}

Semantic roles & 50–950 ramp

primary
#CB77EC
secondary
#D8F0CF
accent
#D80E47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB77EC

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

Preview Lab → · Contrast checker → · Palette generator →

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