#CA77DB#CA77DB

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

Color values

HEX#CA77DB
RGBrgb(202, 119, 219)
HSLhsl(290, 58%, 66%)
HSVhsv(290, 46%, 86%)
CMYKcmyk(7.8%, 45.7%, 0%, 14.1%)
CIE-LABlab(62.39, 48.11, -37.99)
CIE-LCHlch(62.39, 61.30, 321.71°)
OKLaboklab(69.56% 0.1277 -0.1048)
OKLCHoklch(69.56% 0.165 320.6)
XYZxyz(43.7386, 30.8663, 70.6579)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA77DB #88DB77
analogous
#9877DB #CA77DB #DB77BA
triadic
#CA77DB #DBCA77 #77DBCA
tetradic
#CA77DB #DB9877 #88DB77 #77BADB
square
#CA77DB #DB9877 #88DB77 #77BADB
split-complementary
#CA77DB #BADB77 #77DB98
monochromatic
#952DAA #B747CE #CA77DB #DDA7E8 #F0D8F5

Accessibility & contrast

On white

2.93
#CA77DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CA77DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA77DB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA77DB#FFFFFF#000000##000000
##CA77DB1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6891DE
Deuteranopia (green-blind)
#809AD8
Tritanopia (blue-blind)
#CC849F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca77db;
/* rgb */ color: rgb(202, 119, 219);
/* oklch */ color: oklch(69.6% 0.165 320.6);
Tailwind
colors: {
  custom: {
    50: '#dca0e6',
    500: '#ca77db',
    950: '#000000',
  },
}
SCSS
$custom: #ca77db;
$custom-light: #dca0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca77db",
  "rgb": {
    "r": 202,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 289.8,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69559,
    "c": 0.16519,
    "h": 320.6
  },
  "luminance": 0.30865
}

Semantic roles & 50–950 ramp

primary
#CA77DB
secondary
#CCE7C7
accent
#C6203C
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA77DB

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

Preview Lab → · Contrast checker → · Palette generator →

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