#CA77EB#CA77EB

#CA77EB is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.4% C 0.182 H 315.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CA77EB
RGBrgb(202, 119, 235)
HSLhsl(283, 74%, 69%)
HSVhsv(283, 49%, 92%)
CMYKcmyk(14%, 49.4%, 0%, 7.8%)
CIE-LABlab(63.14, 51.31, -45.74)
CIE-LCHlch(63.14, 68.74, 318.29°)
OKLaboklab(70.35% 0.1299 -0.1272)
OKLCHoklch(70.35% 0.182 315.6)
XYZxyz(45.9470, 31.7497, 82.2891)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA77EB #98EB77
analogous
#9077EB #CA77EB #EB77D2
triadic
#CA77EB #EBCA77 #77EBCA
tetradic
#CA77EB #EB9077 #98EB77 #77D2EB
square
#CA77EB #EB9077 #98EB77 #77D2EB
split-complementary
#CA77EB #D2EB77 #77EB90
monochromatic
#991ECA #B542E3 #CA77EB #DFACF3 #F4E2FB

Accessibility & contrast

On white

2.86
#CA77EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#CA77EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA77EB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA77EB#FFFFFF#000000##000000
##CA77EB1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#789BE8
Tritanopia (blue-blind)
#C888A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca77eb;
/* rgb */ color: rgb(202, 119, 235);
/* oklch */ color: oklch(70.4% 0.182 315.6);
Tailwind
colors: {
  custom: {
    50: '#dca1f2',
    500: '#ca77eb',
    950: '#000000',
  },
}
SCSS
$custom: #ca77eb;
$custom-light: #dca1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca77eb",
  "rgb": {
    "r": 202,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 282.931,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70351,
    "c": 0.18181,
    "h": 315.6
  },
  "luminance": 0.31748
}

Semantic roles & 50–950 ramp

primary
#CA77EB
secondary
#D8F0CE
accent
#D60F48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA77EB

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

Preview Lab → · Contrast checker → · Palette generator →

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