#AF71FF#AF71FF

#AF71FF is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 67.7% C 0.205 H 301.3°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#AF71FF
RGBrgb(175, 113, 255)
HSLhsl(266, 100%, 72%)
HSVhsv(266, 56%, 100%)
CMYKcmyk(31.4%, 55.7%, 0%, 0%)
CIE-LABlab(60.02, 52.05, -61.92)
CIE-LCHlch(60.02, 80.89, 310.05°)
OKLaboklab(67.73% 0.1063 -0.1751)
OKLCHoklch(67.73% 0.205 301.3)
XYZxyz(41.6301, 28.1441, 97.8275)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF71FF #C1FF71
analogous
#717AFF #AF71FF #F671FF
triadic
#AF71FF #FFAF71 #71FFAF
tetradic
#AF71FF #FF717A #C1FF71 #71FFF6
square
#AF71FF #FF717A #C1FF71 #71FFF6
split-complementary
#AF71FF #FFF671 #7AFF71
monochromatic
#6B00F6 #8D34FF #AF71FF #D1AEFF #EEE0FF

Accessibility & contrast

On white

3.17
#AF71FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#AF71FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF71FF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF71FF#FFFFFF#000000##000000
##AF71FF1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3490FF
Deuteranopia (green-blind)
#4C90FC
Tritanopia (blue-blind)
#9F8DAD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af71ff;
/* rgb */ color: rgb(175, 113, 255);
/* oklch */ color: oklch(67.7% 0.205 301.3);
Tailwind
colors: {
  custom: {
    50: '#cb9cff',
    500: '#af71ff',
    950: '#000000',
  },
}
SCSS
$custom: #af71ff;
$custom-light: #cb9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#af71ff",
  "rgb": {
    "r": 175,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 266.197,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6773,
    "c": 0.20486,
    "h": 301.3
  },
  "luminance": 0.28144
}

Semantic roles & 50–950 ramp

primary
#AF71FF
secondary
#E8F7D4
accent
#E60081
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF71FF

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

Preview Lab → · Contrast checker → · Palette generator →

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