#A01FA7#A01FA7

#A01FA7 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.2% C 0.217 H 325.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A01FA7
RGBrgb(160, 31, 167)
HSLhsl(297, 69%, 39%)
HSVhsv(297, 81%, 65%)
CMYKcmyk(4.2%, 81.4%, 0%, 34.5%)
CIE-LABlab(39.99, 65.48, -43.74)
CIE-LCHlch(39.99, 78.74, 326.26°)
OKLaboklab(51.16% 0.1792 -0.1219)
OKLCHoklch(51.16% 0.217 325.8)
XYZxyz(21.9618, 11.2451, 37.5655)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01FA7 #26A71F
analogous
#5C1FA7 #A01FA7 #A71F6A
triadic
#A01FA7 #A7A01F #1FA7A0
tetradic
#A01FA7 #A75C1F #26A71F #1F6AA7
square
#A01FA7 #A75C1F #26A71F #1F6AA7
split-complementary
#A01FA7 #6AA71F #1FA75C
monochromatic
#3D0C40 #6F1573 #A01FA7 #CF2BD8 #DB5FE1

Accessibility & contrast

On white

6.46
#A01FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A01FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01FA7
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01FA7#FFFFFF#000000##FFFFFF
##A01FA71.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#4163A4
Tritanopia (blue-blind)
#A43A64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a01fa7;
/* rgb */ color: rgb(160, 31, 167);
/* oklch */ color: oklch(51.2% 0.217 325.8);
Tailwind
colors: {
  custom: {
    50: '#c06dc2',
    500: '#a01fa7',
    950: '#000000',
  },
}
SCSS
$custom: #a01fa7;
$custom-light: #c06dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a01fa7",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 296.912,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51156,
    "c": 0.21671,
    "h": 325.8
  },
  "luminance": 0.11244
}

Semantic roles & 50–950 ramp

primary
#A01FA7
secondary
#61C65C
accent
#EC3C45
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A01FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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