#CA77FE#CA77FE

#CA77FE is a light, highly saturated violet. Relative luminance 0.329; OKLCH L 71.4% C 0.202 H 310.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CA77FE
RGBrgb(202, 119, 254)
HSLhsl(277, 99%, 73%)
HSVhsv(277, 53%, 100%)
CMYKcmyk(20.5%, 53.1%, 0%, 0.4%)
CIE-LABlab(64.09, 55.29, -54.71)
CIE-LCHlch(64.09, 77.78, 315.30°)
OKLaboklab(71.36% 0.1317 -0.1533)
OKLCHoklch(71.36% 0.202 310.7)
XYZxyz(48.8400, 32.9069, 97.5255)
Luminance0.3291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA77FE #ABFE77
analogous
#8677FE #CA77FE #FE77EE
triadic
#CA77FE #FECA77 #77FECA
tetradic
#CA77FE #FE8677 #ABFE77 #77EEFE
square
#CA77FE #FE8677 #ABFE77 #77EEFE
split-complementary
#CA77FE #EEFE77 #77FE86
monochromatic
#9A02F9 #B23AFE #CA77FE #E2B4FE #F3E1FF

Accessibility & contrast

On white

2.77
#CA77FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#CA77FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA77FE
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA77FE#FFFFFF#000000##000000
##CA77FE1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#C48EB0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca77fe;
/* rgb */ color: rgb(202, 119, 254);
/* oklch */ color: oklch(71.4% 0.202 310.7);
Tailwind
colors: {
  custom: {
    50: '#dda1ff',
    500: '#ca77fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca77fe;
$custom-light: #dda1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca77fe",
  "rgb": {
    "r": 202,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 276.889,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71362,
    "c": 0.20207,
    "h": 310.7
  },
  "luminance": 0.32906
}

Semantic roles & 50–950 ramp

primary
#CA77FE
secondary
#E1F7D4
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CA77FE

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

Preview Lab → · Contrast checker → · Palette generator →

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