#CB77DC#CB77DC

#CB77DC is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.7% C 0.167 H 320.7°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CB77DC
RGBrgb(203, 119, 220)
HSLhsl(290, 59%, 66%)
HSVhsv(290, 46%, 86%)
CMYKcmyk(7.7%, 45.9%, 0%, 13.7%)
CIE-LABlab(62.56, 48.60, -38.29)
CIE-LCHlch(62.56, 61.87, 321.77°)
OKLaboklab(69.72% 0.129 -0.1056)
OKLCHoklch(69.72% 0.167 320.7)
XYZxyz(44.1421, 31.0592, 71.3661)
Luminance0.3106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77DC #88DC77
analogous
#9977DC #CB77DC #DC77BB
triadic
#CB77DC #DCCB77 #77DCCB
tetradic
#CB77DC #DC9977 #88DC77 #77BBDC
square
#CB77DC #DC9977 #88DC77 #77BBDC
split-complementary
#CB77DC #BBDC77 #77DC99
monochromatic
#972CAC #B846CF #CB77DC #DEA8E9 #F0D8F5

Accessibility & contrast

On white

2.91
#CB77DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#CB77DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB77DC
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB77DC#FFFFFF#000000##000000
##CB77DC1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6891E0
Deuteranopia (green-blind)
#809AD9
Tritanopia (blue-blind)
#CD849F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb77dc;
/* rgb */ color: rgb(203, 119, 220);
/* oklch */ color: oklch(69.7% 0.167 320.7);
Tailwind
colors: {
  custom: {
    50: '#dda0e7',
    500: '#cb77dc',
    950: '#000000',
  },
}
SCSS
$custom: #cb77dc;
$custom-light: #dda0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77dc",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 289.901,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69721,
    "c": 0.16674,
    "h": 320.7
  },
  "luminance": 0.31057
}

Semantic roles & 50–950 ramp

primary
#CB77DC
secondary
#CDE8C7
accent
#C71F3B
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB77DC

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

Preview Lab → · Contrast checker → · Palette generator →

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