#CA77E4#CA77E4

#CA77E4 is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.0% C 0.174 H 317.7°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CA77E4
RGBrgb(202, 119, 228)
HSLhsl(286, 67%, 68%)
HSVhsv(286, 48%, 89%)
CMYKcmyk(11.4%, 47.8%, 0%, 10.6%)
CIE-LABlab(62.80, 49.89, -42.37)
CIE-LCHlch(62.80, 65.46, 319.66°)
OKLaboklab(70% 0.1291 -0.1174)
OKLCHoklch(70% 0.174 317.7)
XYZxyz(44.9556, 31.3531, 77.0674)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA77E4 #91E477
analogous
#9377E4 #CA77E4 #E477C7
triadic
#CA77E4 #E4CA77 #77E4CA
tetradic
#CA77E4 #E49377 #91E477 #77C7E4
square
#CA77E4 #E49377 #91E477 #77C7E4
split-complementary
#CA77E4 #C7E477 #77E493
monochromatic
#9825BB #B644DA #CA77E4 #DEAAEE #F2DDF8

Accessibility & contrast

On white

2.89
#CA77E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CA77E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA77E4
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA77E4#FFFFFF#000000##000000
##CA77E41.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6393E8
Deuteranopia (green-blind)
#7B9BE1
Tritanopia (blue-blind)
#CA86A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca77e4;
/* rgb */ color: rgb(202, 119, 228);
/* oklch */ color: oklch(70.0% 0.174 317.7);
Tailwind
colors: {
  custom: {
    50: '#dca1ed',
    500: '#ca77e4',
    950: '#000000',
  },
}
SCSS
$custom: #ca77e4;
$custom-light: #dca1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca77e4",
  "rgb": {
    "r": 202,
    "g": 119,
    "b": 228
  },
  "hsl": {
    "h": 285.688,
    "s": 66.871,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69998,
    "c": 0.17447,
    "h": 317.7
  },
  "luminance": 0.31352
}

Semantic roles & 50–950 ramp

primary
#CA77E4
secondary
#D3ECCB
accent
#CF1743
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA77E4

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

Preview Lab → · Contrast checker → · Palette generator →

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