#CA77FA#CA77FA

#CA77FA is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.1% C 0.198 H 311.6°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#CA77FA
RGBrgb(202, 119, 250)
HSLhsl(278, 93%, 72%)
HSVhsv(278, 52%, 98%)
CMYKcmyk(19.2%, 52.4%, 0%, 2%)
CIE-LABlab(63.88, 54.43, -52.84)
CIE-LCHlch(63.88, 75.86, 315.85°)
OKLaboklab(71.14% 0.1314 -0.1478)
OKLCHoklch(71.14% 0.198 311.6)
XYZxyz(48.2062, 32.6534, 94.1872)
Luminance0.3265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA77FA #A7FA77
analogous
#8877FA #CA77FA #FA77E9
triadic
#CA77FA #FACA77 #77FACA
tetradic
#CA77FA #FA8877 #A7FA77 #77E9FA
square
#CA77FA #FA8877 #A7FA77 #77E9FA
split-complementary
#CA77FA #E9FA77 #77FA88
monochromatic
#9A09EE #B33CF8 #CA77FA #E1B2FC #F3E1FE

Accessibility & contrast

On white

2.79
#CA77FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#CA77FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA77FA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA77FA#FFFFFF#000000##000000
##CA77FA1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FE
Deuteranopia (green-blind)
#6F9DF7
Tritanopia (blue-blind)
#C58DAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca77fa;
/* rgb */ color: rgb(202, 119, 250);
/* oklch */ color: oklch(71.1% 0.198 311.6);
Tailwind
colors: {
  custom: {
    50: '#dda1fc',
    500: '#ca77fa',
    950: '#000000',
  },
}
SCSS
$custom: #ca77fa;
$custom-light: #dda1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca77fa",
  "rgb": {
    "r": 202,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 278.015,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71143,
    "c": 0.19777,
    "h": 311.6
  },
  "luminance": 0.32652
}

Semantic roles & 50–950 ramp

primary
#CA77FA
secondary
#E1F6D5
accent
#E60054
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA77FA

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

Preview Lab → · Contrast checker → · Palette generator →

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