#AF77CA#AF77CA

#AF77CA is a light, vivid purple. Relative luminance 0.266; OKLCH L 65.8% C 0.133 H 314.1°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AF77CA
RGBrgb(175, 119, 202)
HSLhsl(280, 44%, 63%)
HSVhsv(280, 41%, 79%)
CMYKcmyk(13.4%, 41.1%, 0%, 20.8%)
CIE-LABlab(58.58, 36.71, -34.61)
CIE-LCHlch(58.58, 50.46, 316.68°)
OKLaboklab(65.78% 0.0928 -0.0956)
OKLCHoklch(65.78% 0.133 314.1)
XYZxyz(34.9350, 26.5726, 59.1544)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF77CA #92CA77
analogous
#8577CA #AF77CA #CA77BB
triadic
#AF77CA #CAAF77 #77CAAF
tetradic
#AF77CA #CA8577 #92CA77 #77BBCA
square
#AF77CA #CA8577 #92CA77 #77BBCA
split-complementary
#AF77CA #BBCA77 #77CA85
monochromatic
#73388F #954BB9 #AF77CA #C9A3DB #E3CFEC

Accessibility & contrast

On white

3.33
#AF77CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#AF77CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF77CA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF77CA#FFFFFF#000000##000000
##AF77CA1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACD
Deuteranopia (green-blind)
#768EC8
Tritanopia (blue-blind)
#AD8397
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af77ca;
/* rgb */ color: rgb(175, 119, 202);
/* oklch */ color: oklch(65.8% 0.133 314.1);
Tailwind
colors: {
  custom: {
    50: '#c89fda',
    500: '#af77ca',
    950: '#000000',
  },
}
SCSS
$custom: #af77ca;
$custom-light: #c89fda;
$custom-dark: #000000;
JSON
{
  "hex": "#af77ca",
  "rgb": {
    "r": 175,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 280.482,
    "s": 43.915,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65778,
    "c": 0.13324,
    "h": 314.1
  },
  "luminance": 0.26572
}

Semantic roles & 50–950 ramp

primary
#AF77CA
secondary
#C9DDBF
accent
#B72E5B
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF77CA

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

Preview Lab → · Contrast checker → · Palette generator →

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