#AF71CE#AF71CE

#AF71CE is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.0% C 0.148 H 313.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AF71CE
RGBrgb(175, 113, 206)
HSLhsl(280, 49%, 63%)
HSVhsv(280, 45%, 81%)
CMYKcmyk(15%, 45.1%, 0%, 19.2%)
CIE-LABlab(57.45, 40.86, -38.65)
CIE-LCHlch(57.45, 56.24, 316.59°)
OKLaboklab(64.99% 0.1021 -0.1072)
OKLCHoklch(64.99% 0.148 313.6)
XYZxyz(34.7231, 25.3812, 61.4505)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF71CE #90CE71
analogous
#8071CE #AF71CE #CE71BE
triadic
#AF71CE #CEAF71 #71CEAF
tetradic
#AF71CE #CE8071 #90CE71 #71BECE
square
#AF71CE #CE8071 #90CE71 #71BECE
split-complementary
#AF71CE #BECE71 #71CE80
monochromatic
#723292 #9544BE #AF71CE #C99EDE #E2CCED

Accessibility & contrast

On white

3.46
#AF71CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#AF71CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF71CE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF71CE#FFFFFF#000000##000000
##AF71CE1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E86D1
Deuteranopia (green-blind)
#6F8CCB
Tritanopia (blue-blind)
#AD7F96
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af71ce;
/* rgb */ color: rgb(175, 113, 206);
/* oklch */ color: oklch(65.0% 0.148 313.6);
Tailwind
colors: {
  custom: {
    50: '#c89bdd',
    500: '#af71ce',
    950: '#000000',
  },
}
SCSS
$custom: #af71ce;
$custom-light: #c89bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#af71ce",
  "rgb": {
    "r": 175,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 280,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64989,
    "c": 0.14809,
    "h": 313.6
  },
  "luminance": 0.2538
}

Semantic roles & 50–950 ramp

primary
#AF71CE
secondary
#C8DEBC
accent
#BC2A5A
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF71CE

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

Preview Lab → · Contrast checker → · Palette generator →

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