#A01FB4#A01FB4

#A01FB4 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 52.0% C 0.227 H 321.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A01FB4
RGBrgb(160, 31, 180)
HSLhsl(292, 71%, 41%)
HSVhsv(292, 83%, 71%)
CMYKcmyk(11.1%, 82.8%, 0%, 29.4%)
CIE-LABlab(40.82, 67.69, -50.15)
CIE-LCHlch(40.82, 84.24, 323.47°)
OKLaboklab(52% 0.1778 -0.1406)
OKLCHoklch(52% 0.227 321.7)
XYZxyz(23.2245, 11.7502, 44.2159)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01FB4 #33B41F
analogous
#561FB4 #A01FB4 #B41F7E
triadic
#A01FB4 #B4A01F #1FB4A0
tetradic
#A01FB4 #B4561F #33B41F #1F7EB4
square
#A01FB4 #B4561F #33B41F #1F7EB4
split-complementary
#A01FB4 #7EB41F #1FB456
monochromatic
#430D4C #721680 #A01FB4 #C634DC #D468E5

Accessibility & contrast

On white

6.27
#A01FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A01FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01FB4
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01FB4#FFFFFF#000000##FFFFFF
##A01FB41.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#3665B1
Tritanopia (blue-blind)
#A1416C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a01fb4;
/* rgb */ color: rgb(160, 31, 180);
/* oklch */ color: oklch(52.0% 0.227 321.7);
Tailwind
colors: {
  custom: {
    50: '#c16dcb',
    500: '#a01fb4',
    950: '#000000',
  },
}
SCSS
$custom: #a01fb4;
$custom-light: #c16dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#a01fb4",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 291.946,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52002,
    "c": 0.22666,
    "h": 321.7
  },
  "luminance": 0.11749
}

Semantic roles & 50–950 ramp

primary
#A01FB4
secondary
#72CB64
accent
#ED3A52
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130813
muted
#827B82

Preview Lab

Preview with #A01FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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