#CA77DC#CA77DC

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

Color values

HEX#CA77DC
RGBrgb(202, 119, 220)
HSLhsl(289, 59%, 66%)
HSVhsv(289, 46%, 86%)
CMYKcmyk(8.2%, 45.9%, 0%, 13.7%)
CIE-LABlab(62.44, 48.31, -38.48)
CIE-LCHlch(62.44, 61.76, 321.46°)
OKLaboklab(69.61% 0.1279 -0.1062)
OKLCHoklch(69.61% 0.166 320.3)
XYZxyz(43.8706, 30.9191, 71.3533)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA77DC #89DC77
analogous
#9877DC #CA77DC #DC77BC
triadic
#CA77DC #DCCA77 #77DCCA
tetradic
#CA77DC #DC9877 #89DC77 #77BCDC
square
#CA77DC #DC9877 #89DC77 #77BCDC
split-complementary
#CA77DC #BCDC77 #77DC98
monochromatic
#952CAC #B746CF #CA77DC #DDA8E9 #F0D8F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA77DC#FFFFFF#000000##000000
##CA77DC1.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)
#6891E0
Deuteranopia (green-blind)
#7F9AD9
Tritanopia (blue-blind)
#CB849F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca77dc;
/* rgb */ color: rgb(202, 119, 220);
/* oklch */ color: oklch(69.6% 0.166 320.3);
Tailwind
colors: {
  custom: {
    50: '#dca0e7',
    500: '#ca77dc',
    950: '#000000',
  },
}
SCSS
$custom: #ca77dc;
$custom-light: #dca0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca77dc",
  "rgb": {
    "r": 202,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 289.307,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69607,
    "c": 0.16621,
    "h": 320.3
  },
  "luminance": 0.30918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA77DC

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

Preview Lab → · Contrast checker → · Palette generator →

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