#A01FA6#A01FA6

#A01FA6 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.1% C 0.216 H 326.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A01FA6
RGBrgb(160, 31, 166)
HSLhsl(297, 69%, 39%)
HSVhsv(297, 81%, 65%)
CMYKcmyk(3.6%, 81.3%, 0%, 34.9%)
CIE-LABlab(39.93, 65.31, -43.24)
CIE-LCHlch(39.93, 78.33, 326.50°)
OKLaboklab(51.09% 0.1793 -0.1204)
OKLCHoklch(51.09% 0.216 326.1)
XYZxyz(21.8697, 11.2083, 37.0805)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01FA6 #25A61F
analogous
#5C1FA6 #A01FA6 #A61F68
triadic
#A01FA6 #A6A01F #1FA6A0
tetradic
#A01FA6 #A65C1F #25A61F #1F68A6
square
#A01FA6 #A65C1F #25A61F #1F68A6
split-complementary
#A01FA6 #68A61F #1FA65C
monochromatic
#3D0C3F #6E1572 #A01FA6 #D02BD7 #DB5EE1

Accessibility & contrast

On white

6.48
#A01FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A01FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01FA6
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01FA6#FFFFFF#000000##FFFFFF
##A01FA61.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#4263A3
Tritanopia (blue-blind)
#A43964
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a01fa6;
/* rgb */ color: rgb(160, 31, 166);
/* oklch */ color: oklch(51.1% 0.216 326.1);
Tailwind
colors: {
  custom: {
    50: '#c06cc1',
    500: '#a01fa6',
    950: '#000000',
  },
}
SCSS
$custom: #a01fa6;
$custom-light: #c06cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#a01fa6",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 297.333,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51093,
    "c": 0.21595,
    "h": 326.1
  },
  "luminance": 0.11207
}

Semantic roles & 50–950 ramp

primary
#A01FA6
secondary
#60C55B
accent
#EB3C44
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A01FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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