#A01793#A01793

#A01793 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.208 H 332.8°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A01793
RGBrgb(160, 23, 147)
HSLhsl(306, 75%, 36%)
HSVhsv(306, 86%, 63%)
CMYKcmyk(0%, 85.6%, 8.1%, 37.3%)
CIE-LABlab(38.19, 64.17, -34.52)
CIE-LCHlch(38.19, 72.86, 331.72°)
OKLaboklab(49.5% 0.1853 -0.095)
OKLCHoklch(49.5% 0.208 332.8)
XYZxyz(20.0702, 10.1948, 28.5089)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01793 #17A024
analogous
#6817A0 #A01793 #A0174F
triadic
#A01793 #93A017 #1793A0
tetradic
#A01793 #A06817 #17A024 #174FA0
square
#A01793 #A06817 #17A024 #174FA0
split-complementary
#A01793 #4FA017 #17A068
monochromatic
#350831 #6A0F62 #A01793 #D61FC4 #E54CD7

Accessibility & contrast

On white

6.91
#A01793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A01793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01793
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01793#FFFFFF#000000##FFFFFF
##A017931.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094E96
Deuteranopia (green-blind)
#4B6090
Tritanopia (blue-blind)
#A72A57
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a01793;
/* rgb */ color: rgb(160, 23, 147);
/* oklch */ color: oklch(49.5% 0.208 332.8);
Tailwind
colors: {
  custom: {
    50: '#c069b3',
    500: '#a01793',
    950: '#000000',
  },
}
SCSS
$custom: #a01793;
$custom-light: #c069b3;
$custom-dark: #000000;
JSON
{
  "hex": "#a01793",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 147
  },
  "hsl": {
    "h": 305.693,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49503,
    "c": 0.2082,
    "h": 332.8
  },
  "luminance": 0.10193
}

Semantic roles & 50–950 ramp

primary
#A01793
secondary
#4CC757
accent
#F14836
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #A01793

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

Preview Lab → · Contrast checker → · Palette generator →

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