#CA77EC#CA77EC

#CA77EC is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.4% C 0.183 H 315.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#CA77EC
RGBrgb(202, 119, 236)
HSLhsl(283, 75%, 70%)
HSVhsv(283, 50%, 93%)
CMYKcmyk(14.4%, 49.6%, 0%, 7.5%)
CIE-LABlab(63.18, 51.52, -46.21)
CIE-LCHlch(63.18, 69.21, 318.11°)
OKLaboklab(70.4% 0.1301 -0.1285)
OKLCHoklch(70.4% 0.183 315.3)
XYZxyz(46.0919, 31.8077, 83.0521)
Luminance0.3181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA77EC #99EC77
analogous
#9077EC #CA77EC #EC77D4
triadic
#CA77EC #ECCA77 #77ECCA
tetradic
#CA77EC #EC9077 #99EC77 #77D4EC
square
#CA77EC #EC9077 #99EC77 #77D4EC
split-complementary
#CA77EC #D4EC77 #77EC90
monochromatic
#991DCC #B541E4 #CA77EC #DFADF4 #F4E2FB

Accessibility & contrast

On white

2.85
#CA77EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#CA77EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA77EC
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA77EC#FFFFFF#000000##000000
##CA77EC1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F0
Deuteranopia (green-blind)
#779BE9
Tritanopia (blue-blind)
#C889A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca77ec;
/* rgb */ color: rgb(202, 119, 236);
/* oklch */ color: oklch(70.4% 0.183 315.3);
Tailwind
colors: {
  custom: {
    50: '#dca1f2',
    500: '#ca77ec',
    950: '#000000',
  },
}
SCSS
$custom: #ca77ec;
$custom-light: #dca1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca77ec",
  "rgb": {
    "r": 202,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 282.564,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70403,
    "c": 0.18286,
    "h": 315.3
  },
  "luminance": 0.31806
}

Semantic roles & 50–950 ramp

primary
#CA77EC
secondary
#D8F0CF
accent
#D80E48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA77EC

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

Preview Lab → · Contrast checker → · Palette generator →

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