#AF71CA#AF71CA

#AF71CA is a light, vivid purple. Relative luminance 0.252; OKLCH L 64.8% C 0.144 H 315.0°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AF71CA
RGBrgb(175, 113, 202)
HSLhsl(282, 46%, 62%)
HSVhsv(282, 44%, 79%)
CMYKcmyk(13.4%, 44.1%, 0%, 20.8%)
CIE-LABlab(57.26, 40.01, -36.67)
CIE-LCHlch(57.26, 54.27, 317.49°)
OKLaboklab(64.79% 0.1015 -0.1015)
OKLCHoklch(64.79% 0.144 315)
XYZxyz(34.2433, 25.1893, 58.9238)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF71CA #8CCA71
analogous
#8371CA #AF71CA #CA71B9
triadic
#AF71CA #CAAF71 #71CAAF
tetradic
#AF71CA #CA8371 #8CCA71 #71B9CA
square
#AF71CA #CA8371 #8CCA71 #71B9CA
split-complementary
#AF71CA #B9CA71 #71CA83
monochromatic
#72348C #9645B9 #AF71CA #C89EDB #E1CAEB

Accessibility & contrast

On white

3.48
#AF71CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#AF71CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF71CA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF71CA#FFFFFF#000000##000000
##AF71CA1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CD
Deuteranopia (green-blind)
#718BC7
Tritanopia (blue-blind)
#AD7E94
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af71ca;
/* rgb */ color: rgb(175, 113, 202);
/* oklch */ color: oklch(64.8% 0.144 315.0);
Tailwind
colors: {
  custom: {
    50: '#c89bda',
    500: '#af71ca',
    950: '#000000',
  },
}
SCSS
$custom: #af71ca;
$custom-light: #c89bda;
$custom-dark: #000000;
JSON
{
  "hex": "#af71ca",
  "rgb": {
    "r": 175,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 281.798,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64789,
    "c": 0.14354,
    "h": 315
  },
  "luminance": 0.25188
}

Semantic roles & 50–950 ramp

primary
#AF71CA
secondary
#C5DCBB
accent
#B92D57
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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