#AF76CA#AF76CA

#AF76CA is a light, vivid purple. Relative luminance 0.263; OKLCH L 65.6% C 0.135 H 314.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AF76CA
RGBrgb(175, 118, 202)
HSLhsl(281, 44%, 63%)
HSVhsv(281, 42%, 79%)
CMYKcmyk(13.4%, 41.6%, 0%, 20.8%)
CIE-LABlab(58.35, 37.26, -34.96)
CIE-LCHlch(58.35, 51.09, 316.82°)
OKLaboklab(65.61% 0.0942 -0.0966)
OKLCHoklch(65.61% 0.135 314.3)
XYZxyz(34.8166, 26.3359, 59.1149)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76CA #91CA76
analogous
#8576CA #AF76CA #CA76BB
triadic
#AF76CA #CAAF76 #76CAAF
tetradic
#AF76CA #CA8576 #91CA76 #76BBCA
square
#AF76CA #CA8576 #91CA76 #76BBCA
split-complementary
#AF76CA #BBCA76 #76CA85
monochromatic
#72378E #954AB9 #AF76CA #C9A2DB #E3CEEC

Accessibility & contrast

On white

3.35
#AF76CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#AF76CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76CA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76CA#FFFFFF#000000##000000
##AF76CA1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6789CD
Deuteranopia (green-blind)
#758EC8
Tritanopia (blue-blind)
#AD8296
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af76ca;
/* rgb */ color: rgb(175, 118, 202);
/* oklch */ color: oklch(65.6% 0.135 314.3);
Tailwind
colors: {
  custom: {
    50: '#c89eda',
    500: '#af76ca',
    950: '#000000',
  },
}
SCSS
$custom: #af76ca;
$custom-light: #c89eda;
$custom-dark: #000000;
JSON
{
  "hex": "#af76ca",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 202
  },
  "hsl": {
    "h": 280.714,
    "s": 44.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65611,
    "c": 0.13496,
    "h": 314.3
  },
  "luminance": 0.26335
}

Semantic roles & 50–950 ramp

primary
#AF76CA
secondary
#C8DDBF
accent
#B72E5A
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF76CA

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

Preview Lab → · Contrast checker → · Palette generator →

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