#A13797#A13797

#A13797 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.4% C 0.179 H 331.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A13797
RGBrgb(161, 55, 151)
HSLhsl(306, 49%, 42%)
HSVhsv(306, 66%, 63%)
CMYKcmyk(0%, 65.8%, 6.2%, 36.9%)
CIE-LABlab(42.07, 55.06, -30.82)
CIE-LCHlch(42.07, 63.09, 330.76°)
OKLaboklab(52.39% 0.1575 -0.0845)
OKLCHoklch(52.39% 0.179 331.8)
XYZxyz(21.6500, 12.5455, 30.5534)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A13797 #37A141
analogous
#7637A1 #A13797 #A13762
triadic
#A13797 #97A137 #3797A1
tetradic
#A13797 #A17637 #37A141 #3762A1
square
#A13797 #A17637 #37A141 #3762A1
split-complementary
#A13797 #62A137 #37A176
monochromatic
#461841 #73276C #A13797 #C451B9 #D37FCB

Accessibility & contrast

On white

5.98
#A13797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A13797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A13797
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A13797#FFFFFF#000000##FFFFFF
##A137971.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9A
Deuteranopia (green-blind)
#566994
Tritanopia (blue-blind)
#A84162
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a13797;
/* rgb */ color: rgb(161, 55, 151);
/* oklch */ color: oklch(52.4% 0.179 331.8);
Tailwind
colors: {
  custom: {
    50: '#c076b6',
    500: '#a13797',
    950: '#000000',
  },
}
SCSS
$custom: #a13797;
$custom-light: #c076b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a13797",
  "rgb": {
    "r": 161,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 305.66,
    "s": 49.074,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52392,
    "c": 0.17872,
    "h": 331.8
  },
  "luminance": 0.12544
}

Semantic roles & 50–950 ramp

primary
#A13797
secondary
#77BD7E
accent
#D95C4F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A13797

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

Preview Lab → · Contrast checker → · Palette generator →

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