#CB77DD#CB77DD

#CB77DD is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.8% C 0.168 H 320.4°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CB77DD
RGBrgb(203, 119, 221)
HSLhsl(289, 60%, 67%)
HSVhsv(289, 46%, 87%)
CMYKcmyk(8.1%, 46.2%, 0%, 13.3%)
CIE-LABlab(62.60, 48.79, -38.77)
CIE-LCHlch(62.60, 62.32, 321.53°)
OKLaboklab(69.77% 0.1292 -0.107)
OKLCHoklch(69.77% 0.168 320.4)
XYZxyz(44.2750, 31.1123, 72.0656)
Luminance0.3111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77DD #89DD77
analogous
#9877DD #CB77DD #DD77BC
triadic
#CB77DD #DDCB77 #77DDCB
tetradic
#CB77DD #DD9877 #89DD77 #77BCDD
square
#CB77DD #DD9877 #89DD77 #77BCDD
split-complementary
#CB77DD #BCDD77 #77DD98
monochromatic
#972CAE #B846D1 #CB77DD #DEA8E9 #F0D9F5

Accessibility & contrast

On white

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

On black

7.22
#CB77DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB77DD
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB77DD#FFFFFF#000000##000000
##CB77DD1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6791E1
Deuteranopia (green-blind)
#7F9BDA
Tritanopia (blue-blind)
#CC84A0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb77dd;
/* rgb */ color: rgb(203, 119, 221);
/* oklch */ color: oklch(69.8% 0.168 320.4);
Tailwind
colors: {
  custom: {
    50: '#dda0e8',
    500: '#cb77dd',
    950: '#000000',
  },
}
SCSS
$custom: #cb77dd;
$custom-light: #dda0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77dd",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 289.412,
    "s": 60,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69769,
    "c": 0.16776,
    "h": 320.4
  },
  "luminance": 0.31111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB77DD

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

Preview Lab → · Contrast checker → · Palette generator →

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