#CA77FB#CA77FB

#CA77FB is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.2% C 0.199 H 311.4°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CA77FB
RGBrgb(202, 119, 251)
HSLhsl(278, 94%, 73%)
HSVhsv(278, 53%, 98%)
CMYKcmyk(19.5%, 52.6%, 0%, 1.6%)
CIE-LABlab(63.93, 54.65, -53.31)
CIE-LCHlch(63.93, 76.34, 315.71°)
OKLaboklab(71.2% 0.1315 -0.1492)
OKLCHoklch(71.2% 0.199 311.4)
XYZxyz(48.3634, 32.7163, 95.0152)
Luminance0.3271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA77FB #A8FB77
analogous
#8877FB #CA77FB #FB77EA
triadic
#CA77FB #FBCA77 #77FBCA
tetradic
#CA77FB #FB8877 #A8FB77 #77EAFB
square
#CA77FB #FB8877 #A8FB77 #77EAFB
split-complementary
#CA77FB #EAFB77 #77FB88
monochromatic
#9A07F1 #B33CF9 #CA77FB #E1B2FD #F3E1FE

Accessibility & contrast

On white

2.78
#CA77FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#CA77FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA77FB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA77FB#FFFFFF#000000##000000
##CA77FB1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#6E9DF8
Tritanopia (blue-blind)
#C48DAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca77fb;
/* rgb */ color: rgb(202, 119, 251);
/* oklch */ color: oklch(71.2% 0.199 311.4);
Tailwind
colors: {
  custom: {
    50: '#dda1fd',
    500: '#ca77fb',
    950: '#000000',
  },
}
SCSS
$custom: #ca77fb;
$custom-light: #dda1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca77fb",
  "rgb": {
    "r": 202,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 277.727,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71198,
    "c": 0.19885,
    "h": 311.4
  },
  "luminance": 0.32715
}

Semantic roles & 50–950 ramp

primary
#CA77FB
secondary
#E1F6D5
accent
#E60055
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CA77FB

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

Preview Lab → · Contrast checker → · Palette generator →

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