#CB77EA#CB77EA

#CB77EA is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.4% C 0.181 H 316.3°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#CB77EA
RGBrgb(203, 119, 234)
HSLhsl(284, 73%, 69%)
HSVhsv(284, 49%, 92%)
CMYKcmyk(13.2%, 49.1%, 0%, 8.2%)
CIE-LABlab(63.20, 51.38, -45.07)
CIE-LCHlch(63.20, 68.34, 318.75°)
OKLaboklab(70.41% 0.131 -0.1252)
OKLCHoklch(70.41% 0.181 316.3)
XYZxyz(46.0745, 31.8321, 81.5431)
Luminance0.3183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77EA #96EA77
analogous
#9277EA #CB77EA #EA77D0
triadic
#CB77EA #EACB77 #77EACB
tetradic
#CB77EA #EA9277 #96EA77 #77D0EA
square
#CB77EA #EA9277 #96EA77 #77D0EA
split-complementary
#CB77EA #D0EA77 #77EA92
monochromatic
#9A1FC8 #B742E2 #CB77EA #DFACF2 #F4E1FA

Accessibility & contrast

On white

2.85
#CB77EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#CB77EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB77EA
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB77EA#FFFFFF#000000##000000
##CB77EA1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EE
Deuteranopia (green-blind)
#799CE7
Tritanopia (blue-blind)
#CA88A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb77ea;
/* rgb */ color: rgb(203, 119, 234);
/* oklch */ color: oklch(70.4% 0.181 316.3);
Tailwind
colors: {
  custom: {
    50: '#dda1f1',
    500: '#cb77ea',
    950: '#000000',
  },
}
SCSS
$custom: #cb77ea;
$custom-light: #dda1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77ea",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 283.826,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70412,
    "c": 0.1812,
    "h": 316.3
  },
  "luminance": 0.31831
}

Semantic roles & 50–950 ramp

primary
#CB77EA
secondary
#D7EFCE
accent
#D51045
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB77EA

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

Preview Lab → · Contrast checker → · Palette generator →

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