#A13799#A13799

#A13799 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.5% C 0.180 H 331.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A13799
RGBrgb(161, 55, 153)
HSLhsl(305, 49%, 42%)
HSVhsv(305, 66%, 63%)
CMYKcmyk(0%, 65.8%, 5%, 36.9%)
CIE-LABlab(42.17, 55.39, -31.86)
CIE-LCHlch(42.17, 63.90, 330.09°)
OKLaboklab(52.5% 0.1576 -0.0876)
OKLCHoklch(52.5% 0.18 331)
XYZxyz(21.8138, 12.6110, 31.4161)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A13799 #37A13F
analogous
#7437A1 #A13799 #A13764
triadic
#A13799 #99A137 #3799A1
tetradic
#A13799 #A17437 #37A13F #3764A1
square
#A13799 #A17437 #37A13F #3764A1
split-complementary
#A13799 #64A137 #37A174
monochromatic
#461842 #73276E #A13799 #C451BB #D37FCD

Accessibility & contrast

On white

5.96
#A13799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A13799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A13799
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A13799#FFFFFF#000000##FFFFFF
##A137991.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9C
Deuteranopia (green-blind)
#556996
Tritanopia (blue-blind)
#A74263
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a13799;
/* rgb */ color: rgb(161, 55, 153);
/* oklch */ color: oklch(52.5% 0.180 331.0);
Tailwind
colors: {
  custom: {
    50: '#c076b7',
    500: '#a13799',
    950: '#000000',
  },
}
SCSS
$custom: #a13799;
$custom-light: #c076b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a13799",
  "rgb": {
    "r": 161,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 304.528,
    "s": 49.074,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52498,
    "c": 0.18033,
    "h": 331
  },
  "luminance": 0.12609
}

Semantic roles & 50–950 ramp

primary
#A13799
secondary
#77BD7C
accent
#D95A4F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A13799

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

Preview Lab → · Contrast checker → · Palette generator →

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