#A62197#A62197

#A62197 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.206 H 333.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A62197
RGBrgb(166, 33, 151)
HSLhsl(307, 67%, 39%)
HSVhsv(307, 80%, 65%)
CMYKcmyk(0%, 80.1%, 9%, 34.9%)
CIE-LABlab(40.30, 63.66, -33.55)
CIE-LCHlch(40.30, 71.96, 332.21°)
OKLaboklab(51.28% 0.1844 -0.0921)
OKLCHoklch(51.28% 0.206 333.4)
XYZxyz(21.8558, 11.4310, 30.3275)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62197 #21A630
analogous
#7321A6 #A62197 #A62155
triadic
#A62197 #97A621 #2197A6
tetradic
#A62197 #A67321 #21A630 #2155A6
square
#A62197 #A67321 #21A630 #2155A6
split-complementary
#A62197 #55A621 #21A673
monochromatic
#400D3A #731769 #A62197 #D62FC3 #E062D2

Accessibility & contrast

On white

6.39
#A62197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A62197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62197
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62197#FFFFFF#000000##FFFFFF
##A621971.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B539A
Deuteranopia (green-blind)
#516694
Tritanopia (blue-blind)
#AE305C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a62197;
/* rgb */ color: rgb(166, 33, 151);
/* oklch */ color: oklch(51.3% 0.206 333.4);
Tailwind
colors: {
  custom: {
    50: '#c46db6',
    500: '#a62197',
    950: '#000000',
  },
}
SCSS
$custom: #a62197;
$custom-light: #c46db6;
$custom-dark: #000000;
JSON
{
  "hex": "#a62197",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 306.767,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51277,
    "c": 0.20609,
    "h": 333.4
  },
  "luminance": 0.11429
}

Semantic roles & 50–950 ramp

primary
#A62197
secondary
#5EC56A
accent
#EA513E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A62197

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

Preview Lab → · Contrast checker → · Palette generator →

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