#CA77E2#CA77E2

#CA77E2 is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.9% C 0.172 H 318.3°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CA77E2
RGBrgb(202, 119, 226)
HSLhsl(287, 65%, 68%)
HSVhsv(287, 47%, 89%)
CMYKcmyk(10.6%, 47.3%, 0%, 11.4%)
CIE-LABlab(62.71, 49.49, -41.40)
CIE-LCHlch(62.71, 64.53, 320.09°)
OKLaboklab(69.9% 0.1288 -0.1146)
OKLCHoklch(69.9% 0.172 318.3)
XYZxyz(44.6796, 31.2427, 75.6136)
Luminance0.3124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA77E2 #8FE277
analogous
#9477E2 #CA77E2 #E277C4
triadic
#CA77E2 #E2CA77 #77E2CA
tetradic
#CA77E2 #E29477 #8FE277 #77C4E2
square
#CA77E2 #E29477 #8FE277 #77C4E2
split-complementary
#CA77E2 #C4E277 #77E294
monochromatic
#9727B7 #B645D7 #CA77E2 #DEA9ED #F1DCF8

Accessibility & contrast

On white

2.90
#CA77E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#CA77E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA77E2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA77E2#FFFFFF#000000##000000
##CA77E21.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6492E6
Deuteranopia (green-blind)
#7C9BDF
Tritanopia (blue-blind)
#CA86A2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca77e2;
/* rgb */ color: rgb(202, 119, 226);
/* oklch */ color: oklch(69.9% 0.172 318.3);
Tailwind
colors: {
  custom: {
    50: '#dca1eb',
    500: '#ca77e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca77e2;
$custom-light: #dca1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca77e2",
  "rgb": {
    "r": 202,
    "g": 119,
    "b": 226
  },
  "hsl": {
    "h": 286.542,
    "s": 64.848,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69899,
    "c": 0.17239,
    "h": 318.3
  },
  "luminance": 0.31241
}

Semantic roles & 50–950 ramp

primary
#CA77E2
secondary
#D1EBCA
accent
#CD1941
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA77E2

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

Preview Lab → · Contrast checker → · Palette generator →

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