#C77AFD#C77AFD

#C77AFD is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.4% C 0.195 H 309.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#C77AFD
RGBrgb(199, 122, 253)
HSLhsl(275, 97%, 74%)
HSVhsv(275, 52%, 99%)
CMYKcmyk(21.3%, 51.8%, 0%, 0.8%)
CIE-LABlab(64.29, 52.77, -53.87)
CIE-LCHlch(64.29, 75.41, 314.41°)
OKLaboklab(71.42% 0.1242 -0.1509)
OKLCHoklch(71.42% 0.195 309.4)
XYZxyz(48.2390, 33.1538, 96.7676)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77AFD #B0FD7A
analogous
#857AFD #C77AFD #FD7AF2
triadic
#C77AFD #FDC77A #7AFDC7
tetradic
#C77AFD #FD857A #B0FD7A #7AF2FD
square
#C77AFD #FD857A #B0FD7A #7AF2FD
split-complementary
#C77AFD #F2FD7A #7AFD85
monochromatic
#9404F9 #AE3EFC #C77AFD #E0B6FE #F2E1FF

Accessibility & contrast

On white

2.75
#C77AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#C77AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77AFD
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77AFD#FFFFFF#000000##000000
##C77AFD1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#6D9DFA
Tritanopia (blue-blind)
#C091B0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c77afd;
/* rgb */ color: rgb(199, 122, 253);
/* oklch */ color: oklch(71.4% 0.195 309.4);
Tailwind
colors: {
  custom: {
    50: '#dba3fe',
    500: '#c77afd',
    950: '#000000',
  },
}
SCSS
$custom: #c77afd;
$custom-light: #dba3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c77afd",
  "rgb": {
    "r": 199,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 275.267,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71418,
    "c": 0.19541,
    "h": 309.4
  },
  "luminance": 0.33153
}

Semantic roles & 50–950 ramp

primary
#C77AFD
secondary
#E2F7D4
accent
#E6005F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C77AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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