#CA77D9#CA77D9

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

Color values

HEX#CA77D9
RGBrgb(202, 119, 217)
HSLhsl(291, 56%, 66%)
HSVhsv(291, 45%, 85%)
CMYKcmyk(6.9%, 45.2%, 0%, 14.9%)
CIE-LABlab(62.31, 47.73, -37.01)
CIE-LCHlch(62.31, 60.39, 322.21°)
OKLaboklab(69.46% 0.1274 -0.102)
OKLCHoklch(69.46% 0.163 321.3)
XYZxyz(43.4769, 30.7617, 69.2796)
Luminance0.3076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA77D9 #86D977
analogous
#9977D9 #CA77D9 #D977B7
triadic
#CA77D9 #D9CA77 #77D9CA
tetradic
#CA77D9 #D99977 #86D977 #77B7D9
square
#CA77D9 #D99977 #86D977 #77B7D9
split-complementary
#CA77D9 #B7D977 #77D999
monochromatic
#952FA7 #B747CC #CA77D9 #DDA7E6 #EFD7F4

Accessibility & contrast

On white

2.94
#CA77D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#CA77D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA77D9
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA77D9#FFFFFF#000000##000000
##CA77D91.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6991DC
Deuteranopia (green-blind)
#809AD6
Tritanopia (blue-blind)
#CC839E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca77d9;
/* rgb */ color: rgb(202, 119, 217);
/* oklch */ color: oklch(69.5% 0.163 321.3);
Tailwind
colors: {
  custom: {
    50: '#dca0e5',
    500: '#ca77d9',
    950: '#000000',
  },
}
SCSS
$custom: #ca77d9;
$custom-light: #dca0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca77d9",
  "rgb": {
    "r": 202,
    "g": 119,
    "b": 217
  },
  "hsl": {
    "h": 290.816,
    "s": 56.322,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69464,
    "c": 0.16316,
    "h": 321.3
  },
  "luminance": 0.3076
}

Semantic roles & 50–950 ramp

primary
#CA77D9
secondary
#CBE6C6
accent
#C4223A
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CA77D9

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

Preview Lab → · Contrast checker → · Palette generator →

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