#A62791#A62791

#A62791 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.196 H 335.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A62791
RGBrgb(166, 39, 145)
HSLhsl(310, 62%, 40%)
HSVhsv(310, 77%, 65%)
CMYKcmyk(0%, 76.5%, 12.7%, 34.9%)
CIE-LABlab(40.58, 61.07, -29.46)
CIE-LCHlch(40.58, 67.80, 334.25°)
OKLaboklab(51.38% 0.179 -0.0804)
OKLCHoklch(51.38% 0.196 335.8)
XYZxyz(21.5626, 11.6043, 27.8868)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62791 #27A63C
analogous
#7B27A6 #A62791 #A62752
triadic
#A62791 #91A627 #2791A6
tetradic
#A62791 #A67B27 #27A63C #2752A6
square
#A62791 #A67B27 #27A63C #2752A6
split-complementary
#A62791 #52A627 #27A67B
monochromatic
#43103A #741B66 #A62791 #D13AB8 #DC6BCA

Accessibility & contrast

On white

6.32
#A62791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A62791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62791
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62791#FFFFFF#000000##FFFFFF
##A627911.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285494
Deuteranopia (green-blind)
#56668E
Tritanopia (blue-blind)
#AF315A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a62791;
/* rgb */ color: rgb(166, 39, 145);
/* oklch */ color: oklch(51.4% 0.196 335.8);
Tailwind
colors: {
  custom: {
    50: '#c46fb1',
    500: '#a62791',
    950: '#000000',
  },
}
SCSS
$custom: #a62791;
$custom-light: #c46fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a62791",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 309.921,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51379,
    "c": 0.19621,
    "h": 335.8
  },
  "luminance": 0.11602
}

Semantic roles & 50–950 ramp

primary
#A62791
secondary
#66C375
accent
#E55E43
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A62791

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

Preview Lab → · Contrast checker → · Palette generator →

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