#CA77CB#CA77CB

#CA77CB is a light, vivid purple. Relative luminance 0.301; OKLCH L 68.8% C 0.149 H 326.6°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#CA77CB
RGBrgb(202, 119, 203)
HSLhsl(299, 45%, 63%)
HSVhsv(299, 41%, 80%)
CMYKcmyk(0.5%, 41.4%, 0%, 20.4%)
CIE-LABlab(61.71, 45.07, -30.07)
CIE-LCHlch(61.71, 54.18, 326.29°)
OKLaboklab(68.82% 0.1247 -0.0821)
OKLCHoklch(68.82% 0.149 326.6)
XYZxyz(41.7326, 30.0639, 60.0930)
Luminance0.3006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA77CB #78CB77
analogous
#A077CB #CA77CB #CB77A2
triadic
#CA77CB #CBCA77 #77CBCA
tetradic
#CA77CB #CBA077 #78CB77 #77A2CB
square
#CA77CB #CBA077 #78CB77 #77A2CB
split-complementary
#CA77CB #A2CB77 #77CBA0
monochromatic
#8F3790 #B94BBA #CA77CB #DBA3DC #EDD0ED

Accessibility & contrast

On white

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

On black

7.01
#CA77CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA77CB
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA77CB#FFFFFF#000000##000000
##CA77CB1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#708ECE
Deuteranopia (green-blind)
#8699C8
Tritanopia (blue-blind)
#CF7F98
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca77cb;
/* rgb */ color: rgb(202, 119, 203);
/* oklch */ color: oklch(68.8% 0.149 326.6);
Tailwind
colors: {
  custom: {
    50: '#dca0db',
    500: '#ca77cb',
    950: '#000000',
  },
}
SCSS
$custom: #ca77cb;
$custom-light: #dca0db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca77cb",
  "rgb": {
    "r": 202,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 299.286,
    "s": 44.681,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68823,
    "c": 0.14933,
    "h": 326.6
  },
  "luminance": 0.30062
}

Semantic roles & 50–950 ramp

primary
#CA77CB
secondary
#C0DEC0
accent
#B82E2F
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA77CB

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

Preview Lab → · Contrast checker → · Palette generator →

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