#AF71FD#AF71FD

#AF71FD is a light, highly saturated violet. Relative luminance 0.280; OKLCH L 67.6% C 0.203 H 301.6°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#AF71FD
RGBrgb(175, 113, 253)
HSLhsl(267, 97%, 72%)
HSVhsv(267, 55%, 99%)
CMYKcmyk(30.8%, 55.3%, 0%, 0.8%)
CIE-LABlab(59.90, 51.57, -61.00)
CIE-LCHlch(59.90, 79.88, 310.21°)
OKLaboklab(67.61% 0.1063 -0.1724)
OKLCHoklch(67.61% 0.203 301.6)
XYZxyz(41.3098, 28.0159, 96.1407)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF71FD #BFFD71
analogous
#7179FD #AF71FD #F571FD
triadic
#AF71FD #FDAF71 #71FDAF
tetradic
#AF71FD #FD7179 #BFFD71 #71FDF5
square
#AF71FD #FD7179 #BFFD71 #71FDF5
split-complementary
#AF71FD #FDF571 #79FD71
monochromatic
#6C03F0 #8D35FC #AF71FD #D1ADFE #EEE1FF

Accessibility & contrast

On white

3.18
#AF71FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#AF71FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF71FD
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF71FD#FFFFFF#000000##000000
##AF71FD1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#378FFF
Deuteranopia (green-blind)
#4E90FA
Tritanopia (blue-blind)
#A08DAC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af71fd;
/* rgb */ color: rgb(175, 113, 253);
/* oklch */ color: oklch(67.6% 0.203 301.6);
Tailwind
colors: {
  custom: {
    50: '#cb9cff',
    500: '#af71fd',
    950: '#000000',
  },
}
SCSS
$custom: #af71fd;
$custom-light: #cb9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#af71fd",
  "rgb": {
    "r": 175,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 266.571,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67608,
    "c": 0.20254,
    "h": 301.6
  },
  "luminance": 0.28016
}

Semantic roles & 50–950 ramp

primary
#AF71FD
secondary
#E7F7D3
accent
#E60080
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF71FD

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

Preview Lab → · Contrast checker → · Palette generator →

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