#CA77FC#CA77FC

#CA77FC is a light, vivid violet. Relative luminance 0.328; OKLCH L 71.3% C 0.200 H 311.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CA77FC
RGBrgb(202, 119, 252)
HSLhsl(277, 96%, 73%)
HSVhsv(277, 53%, 99%)
CMYKcmyk(19.8%, 52.8%, 0%, 1.2%)
CIE-LABlab(63.98, 54.86, -53.78)
CIE-LCHlch(63.98, 76.82, 315.57°)
OKLaboklab(71.25% 0.1315 -0.1505)
OKLCHoklch(71.25% 0.2 311.1)
XYZxyz(48.5214, 32.7795, 95.8476)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA77FC #A9FC77
analogous
#8877FC #CA77FC #FC77EB
triadic
#CA77FC #FCCA77 #77FCCA
tetradic
#CA77FC #FC8877 #A9FC77 #77EBFC
square
#CA77FC #FC8877 #A9FC77 #77EBFC
split-complementary
#CA77FC #EBFC77 #77FC88
monochromatic
#9A05F3 #B33BFB #CA77FC #E1B3FD #F3E1FE

Accessibility & contrast

On white

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

On black

7.56
#CA77FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA77FC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA77FC#FFFFFF#000000##000000
##CA77FC1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#6D9DF9
Tritanopia (blue-blind)
#C48EAF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca77fc;
/* rgb */ color: rgb(202, 119, 252);
/* oklch */ color: oklch(71.3% 0.200 311.1);
Tailwind
colors: {
  custom: {
    50: '#dda1fe',
    500: '#ca77fc',
    950: '#000000',
  },
}
SCSS
$custom: #ca77fc;
$custom-light: #dda1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca77fc",
  "rgb": {
    "r": 202,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 277.444,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71252,
    "c": 0.19991,
    "h": 311.1
  },
  "luminance": 0.32778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA77FC

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

Preview Lab → · Contrast checker → · Palette generator →

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