#CB77D8#CB77D8

#CB77D8 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.5% C 0.163 H 322.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CB77D8
RGBrgb(203, 119, 216)
HSLhsl(292, 55%, 66%)
HSVhsv(292, 45%, 85%)
CMYKcmyk(6%, 44.9%, 0%, 15.3%)
CIE-LABlab(62.38, 47.82, -36.32)
CIE-LCHlch(62.38, 60.05, 322.78°)
OKLaboklab(69.53% 0.1284 -0.1)
OKLCHoklch(69.53% 0.163 322.1)
XYZxyz(43.6187, 30.8498, 68.6094)
Luminance0.3085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77D8 #84D877
analogous
#9A77D8 #CB77D8 #D877B4
triadic
#CB77D8 #D8CB77 #77D8CB
tetradic
#CB77D8 #D89A77 #84D877 #77B4D8
square
#CB77D8 #D89A77 #84D877 #77B4D8
split-complementary
#CB77D8 #B4D877 #77D89A
monochromatic
#952FA5 #B947CA #CB77D8 #DDA7E6 #EFD6F3

Accessibility & contrast

On white

2.93
#CB77D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CB77D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB77D8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB77D8#FFFFFF#000000##000000
##CB77D81.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A91DB
Deuteranopia (green-blind)
#829AD5
Tritanopia (blue-blind)
#CD839D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb77d8;
/* rgb */ color: rgb(203, 119, 216);
/* oklch */ color: oklch(69.5% 0.163 322.1);
Tailwind
colors: {
  custom: {
    50: '#dca0e4',
    500: '#cb77d8',
    950: '#000000',
  },
}
SCSS
$custom: #cb77d8;
$custom-light: #dca0e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77d8",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 216
  },
  "hsl": {
    "h": 291.959,
    "s": 55.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69531,
    "c": 0.1627,
    "h": 322.1
  },
  "luminance": 0.30848
}

Semantic roles & 50–950 ramp

primary
#CB77D8
secondary
#CAE6C5
accent
#C32338
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CB77D8

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

Preview Lab → · Contrast checker → · Palette generator →

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