#CA77CC#CA77CC

#CA77CC is a light, vivid purple. Relative luminance 0.301; OKLCH L 68.9% C 0.150 H 326.2°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#CA77CC
RGBrgb(202, 119, 204)
HSLhsl(299, 45%, 63%)
HSVhsv(299, 42%, 80%)
CMYKcmyk(1%, 41.7%, 0%, 20%)
CIE-LABlab(61.75, 45.26, -30.57)
CIE-LCHlch(61.75, 54.62, 325.96°)
OKLaboklab(68.87% 0.1249 -0.0836)
OKLCHoklch(68.87% 0.15 326.2)
XYZxyz(41.8521, 30.1118, 60.7227)
Luminance0.3011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA77CC #79CC77
analogous
#9F77CC #CA77CC #CC77A3
triadic
#CA77CC #CCCA77 #77CCCA
tetradic
#CA77CC #CC9F77 #79CC77 #77A3CC
square
#CA77CC #CC9F77 #79CC77 #77A3CC
split-complementary
#CA77CC #A3CC77 #77CC9F
monochromatic
#903792 #B94ABB #CA77CC #DBA4DD #EDD0ED

Accessibility & contrast

On white

2.99
#CA77CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#CA77CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA77CC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA77CC#FFFFFF#000000##000000
##CA77CC1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8FCF
Deuteranopia (green-blind)
#8699C9
Tritanopia (blue-blind)
#CE8098
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca77cc;
/* rgb */ color: rgb(202, 119, 204);
/* oklch */ color: oklch(68.9% 0.150 326.2);
Tailwind
colors: {
  custom: {
    50: '#dca0db',
    500: '#ca77cc',
    950: '#000000',
  },
}
SCSS
$custom: #ca77cc;
$custom-light: #dca0db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca77cc",
  "rgb": {
    "r": 202,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 298.588,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68867,
    "c": 0.15029,
    "h": 326.2
  },
  "luminance": 0.3011
}

Semantic roles & 50–950 ramp

primary
#CA77CC
secondary
#C1DFC0
accent
#B92D30
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA77CC

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

Preview Lab → · Contrast checker → · Palette generator →

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