#CA77D2#CA77D2

#CA77D2 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.1% C 0.156 H 323.9°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CA77D2
RGBrgb(202, 119, 210)
HSLhsl(295, 50%, 65%)
HSVhsv(295, 43%, 82%)
CMYKcmyk(3.8%, 43.3%, 0%, 17.6%)
CIE-LABlab(62.00, 46.38, -33.56)
CIE-LCHlch(62.00, 57.25, 324.12°)
OKLaboklab(69.14% 0.1261 -0.0921)
OKLCHoklch(69.14% 0.156 323.9)
XYZxyz(42.5857, 30.4052, 64.5859)
Luminance0.3040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA77D2 #7FD277
analogous
#9D77D2 #CA77D2 #D277AD
triadic
#CA77D2 #D2CA77 #77D2CA
tetradic
#CA77D2 #D29D77 #7FD277 #77ADD2
square
#CA77D2 #D29D77 #7FD277 #77ADD2
split-complementary
#CA77D2 #ADD277 #77D29D
monochromatic
#92339B #B849C3 #CA77D2 #DCA5E1 #EED3F0

Accessibility & contrast

On white

2.97
#CA77D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CA77D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA77D2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA77D2#FFFFFF#000000##000000
##CA77D21.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8FD5
Deuteranopia (green-blind)
#8399CF
Tritanopia (blue-blind)
#CD819B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca77d2;
/* rgb */ color: rgb(202, 119, 210);
/* oklch */ color: oklch(69.1% 0.156 323.9);
Tailwind
colors: {
  custom: {
    50: '#dca0e0',
    500: '#ca77d2',
    950: '#000000',
  },
}
SCSS
$custom: #ca77d2;
$custom-light: #dca0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca77d2",
  "rgb": {
    "r": 202,
    "g": 119,
    "b": 210
  },
  "hsl": {
    "h": 294.725,
    "s": 50.276,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69138,
    "c": 0.15615,
    "h": 323.9
  },
  "luminance": 0.30403
}

Semantic roles & 50–950 ramp

primary
#CA77D2
secondary
#C5E2C3
accent
#BE2835
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA77D2

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

Preview Lab → · Contrast checker → · Palette generator →

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