#A62796#A62796

#A62796 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.200 H 333.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A62796
RGBrgb(166, 39, 150)
HSLhsl(308, 62%, 40%)
HSVhsv(308, 77%, 65%)
CMYKcmyk(0%, 76.5%, 9.6%, 34.9%)
CIE-LABlab(40.84, 61.81, -32.10)
CIE-LCHlch(40.84, 69.65, 332.56°)
OKLaboklab(51.65% 0.1793 -0.088)
OKLCHoklch(51.65% 0.2 333.9)
XYZxyz(21.9566, 11.7620, 29.9621)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62796 #27A637
analogous
#7627A6 #A62796 #A62757
triadic
#A62796 #96A627 #2796A6
tetradic
#A62796 #A67627 #27A637 #2757A6
square
#A62796 #A67627 #27A637 #2757A6
split-complementary
#A62796 #57A627 #27A676
monochromatic
#43103C #741B69 #A62796 #D13ABE #DC6BCE

Accessibility & contrast

On white

6.26
#A62796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A62796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62796
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62796#FFFFFF#000000##FFFFFF
##A627961.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235599
Deuteranopia (green-blind)
#546793
Tritanopia (blue-blind)
#AE345D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a62796;
/* rgb */ color: rgb(166, 39, 150);
/* oklch */ color: oklch(51.6% 0.200 333.9);
Tailwind
colors: {
  custom: {
    50: '#c470b5',
    500: '#a62796',
    950: '#000000',
  },
}
SCSS
$custom: #a62796;
$custom-light: #c470b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a62796",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 307.559,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51645,
    "c": 0.19974,
    "h": 333.9
  },
  "luminance": 0.1176
}

Semantic roles & 50–950 ramp

primary
#A62796
secondary
#66C372
accent
#E55743
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A62796

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

Preview Lab → · Contrast checker → · Palette generator →

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