#A62797#A62797

#A62797 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.200 H 333.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A62797
RGBrgb(166, 39, 151)
HSLhsl(307, 62%, 40%)
HSVhsv(307, 77%, 65%)
CMYKcmyk(0%, 76.5%, 9%, 34.9%)
CIE-LABlab(40.89, 61.97, -32.62)
CIE-LCHlch(40.89, 70.03, 332.24°)
OKLaboklab(51.7% 0.1794 -0.0895)
OKLCHoklch(51.7% 0.2 333.5)
XYZxyz(22.0375, 11.7943, 30.3880)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62797 #27A636
analogous
#7627A6 #A62797 #A62757
triadic
#A62797 #97A627 #2797A6
tetradic
#A62797 #A67627 #27A636 #2757A6
square
#A62797 #A67627 #27A636 #2757A6
split-complementary
#A62797 #57A627 #27A676
monochromatic
#43103D #741B6A #A62797 #D13ABF #DC6BCF

Accessibility & contrast

On white

6.25
#A62797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A62797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62797
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62797#FFFFFF#000000##FFFFFF
##A627971.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559A
Deuteranopia (green-blind)
#536794
Tritanopia (blue-blind)
#AE345D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a62797;
/* rgb */ color: rgb(166, 39, 151);
/* oklch */ color: oklch(51.7% 0.200 333.5);
Tailwind
colors: {
  custom: {
    50: '#c470b6',
    500: '#a62797',
    950: '#000000',
  },
}
SCSS
$custom: #a62797;
$custom-light: #c470b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a62797",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 307.087,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51699,
    "c": 0.20045,
    "h": 333.5
  },
  "luminance": 0.11792
}

Semantic roles & 50–950 ramp

primary
#A62797
secondary
#66C371
accent
#E55643
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A62797

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

Preview Lab → · Contrast checker → · Palette generator →

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