#CB77D7#CB77D7

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

Color values

HEX#CB77D7
RGBrgb(203, 119, 215)
HSLhsl(293, 55%, 65%)
HSVhsv(293, 45%, 84%)
CMYKcmyk(5.6%, 44.7%, 0%, 15.7%)
CIE-LABlab(62.34, 47.63, -35.83)
CIE-LCHlch(62.34, 59.60, 323.05°)
OKLaboklab(69.48% 0.1282 -0.0986)
OKLCHoklch(69.48% 0.162 322.4)
XYZxyz(43.4898, 30.7982, 67.9306)
Luminance0.3080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77D7 #83D777
analogous
#9B77D7 #CB77D7 #D777B3
triadic
#CB77D7 #D7CB77 #77D7CB
tetradic
#CB77D7 #D79B77 #83D777 #77B3D7
square
#CB77D7 #D79B77 #83D777 #77B3D7
split-complementary
#CB77D7 #B3D777 #77D79B
monochromatic
#9530A4 #B948C9 #CB77D7 #DDA6E5 #EFD6F3

Accessibility & contrast

On white

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

On black

7.16
#CB77D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB77D7
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB77D7#FFFFFF#000000##000000
##CB77D71.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B90DA
Deuteranopia (green-blind)
#829AD4
Tritanopia (blue-blind)
#CE839D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb77d7;
/* rgb */ color: rgb(203, 119, 215);
/* oklch */ color: oklch(69.5% 0.162 322.4);
Tailwind
colors: {
  custom: {
    50: '#dca0e3',
    500: '#cb77d7',
    950: '#000000',
  },
}
SCSS
$custom: #cb77d7;
$custom-light: #dca0e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77d7",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 215
  },
  "hsl": {
    "h": 292.5,
    "s": 54.545,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69484,
    "c": 0.1617,
    "h": 322.4
  },
  "luminance": 0.30796
}

Semantic roles & 50–950 ramp

primary
#CB77D7
secondary
#C9E5C5
accent
#C22337
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CB77D7

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

Preview Lab → · Contrast checker → · Palette generator →

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