#A01FA8#A01FA8

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

Color values

HEX#A01FA8
RGBrgb(160, 31, 168)
HSLhsl(296, 69%, 39%)
HSVhsv(296, 82%, 66%)
CMYKcmyk(4.8%, 81.5%, 0%, 34.1%)
CIE-LABlab(40.05, 65.65, -44.24)
CIE-LCHlch(40.05, 79.16, 326.02°)
OKLaboklab(51.22% 0.1791 -0.1233)
OKLCHoklch(51.22% 0.217 325.4)
XYZxyz(22.0546, 11.2822, 38.0543)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01FA8 #27A81F
analogous
#5C1FA8 #A01FA8 #A81F6C
triadic
#A01FA8 #A8A01F #1FA8A0
tetradic
#A01FA8 #A85C1F #27A81F #1F6CA8
square
#A01FA8 #A85C1F #27A81F #1F6CA8
split-complementary
#A01FA8 #6CA81F #1FA85C
monochromatic
#3E0C41 #6F1574 #A01FA8 #CE2CD8 #DA60E2

Accessibility & contrast

On white

6.45
#A01FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A01FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01FA8
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01FA8#FFFFFF#000000##FFFFFF
##A01FA81.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#4064A5
Tritanopia (blue-blind)
#A43A65
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a01fa8;
/* rgb */ color: rgb(160, 31, 168);
/* oklch */ color: oklch(51.2% 0.217 325.4);
Tailwind
colors: {
  custom: {
    50: '#c06dc2',
    500: '#a01fa8',
    950: '#000000',
  },
}
SCSS
$custom: #a01fa8;
$custom-light: #c06dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a01fa8",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 296.496,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51219,
    "c": 0.21746,
    "h": 325.4
  },
  "luminance": 0.11281
}

Semantic roles & 50–950 ramp

primary
#A01FA8
secondary
#63C65D
accent
#EC3C46
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A01FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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