#CB77D9#CB77D9

#CB77D9 is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.6% C 0.164 H 321.7°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CB77D9
RGBrgb(203, 119, 217)
HSLhsl(291, 56%, 66%)
HSVhsv(291, 45%, 85%)
CMYKcmyk(6.5%, 45.2%, 0%, 14.9%)
CIE-LABlab(62.42, 48.01, -36.82)
CIE-LCHlch(62.42, 60.50, 322.52°)
OKLaboklab(69.58% 0.1285 -0.1014)
OKLCHoklch(69.58% 0.164 321.7)
XYZxyz(43.7484, 30.9017, 69.2923)
Luminance0.3090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77D9 #85D977
analogous
#9A77D9 #CB77D9 #D977B6
triadic
#CB77D9 #D9CB77 #77D9CB
tetradic
#CB77D9 #D99A77 #85D977 #77B6D9
square
#CB77D9 #D99A77 #85D977 #77B6D9
split-complementary
#CB77D9 #B6D977 #77D99A
monochromatic
#962FA7 #B947CC #CB77D9 #DDA7E6 #F0D7F4

Accessibility & contrast

On white

2.92
#CB77D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CB77D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB77D9
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB77D9#FFFFFF#000000##000000
##CB77D91.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A91DC
Deuteranopia (green-blind)
#819AD6
Tritanopia (blue-blind)
#CD839E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb77d9;
/* rgb */ color: rgb(203, 119, 217);
/* oklch */ color: oklch(69.6% 0.164 321.7);
Tailwind
colors: {
  custom: {
    50: '#dda0e5',
    500: '#cb77d9',
    950: '#000000',
  },
}
SCSS
$custom: #cb77d9;
$custom-light: #dda0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77d9",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 217
  },
  "hsl": {
    "h": 291.429,
    "s": 56.322,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69578,
    "c": 0.16371,
    "h": 321.7
  },
  "luminance": 0.309
}

Semantic roles & 50–950 ramp

primary
#CB77D9
secondary
#CAE6C6
accent
#C42239
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CB77D9

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

Preview Lab → · Contrast checker → · Palette generator →

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