#A62799#A62799

#A62799 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.202 H 332.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A62799
RGBrgb(166, 39, 153)
HSLhsl(306, 62%, 40%)
HSVhsv(306, 77%, 65%)
CMYKcmyk(0%, 76.5%, 7.8%, 34.9%)
CIE-LABlab(40.99, 62.27, -33.66)
CIE-LCHlch(40.99, 70.79, 331.61°)
OKLaboklab(51.81% 0.1795 -0.0925)
OKLCHoklch(51.81% 0.202 332.7)
XYZxyz(22.2013, 11.8598, 31.2507)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62799 #27A634
analogous
#7427A6 #A62799 #A62759
triadic
#A62799 #99A627 #2799A6
tetradic
#A62799 #A67427 #27A634 #2759A6
square
#A62799 #A67427 #27A634 #2759A6
split-complementary
#A62799 #59A627 #27A674
monochromatic
#43103E #741B6B #A62799 #D13AC1 #DC6BD1

Accessibility & contrast

On white

6.23
#A62799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A62799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62799
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62799#FFFFFF#000000##FFFFFF
##A627991.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559C
Deuteranopia (green-blind)
#526796
Tritanopia (blue-blind)
#AD355E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a62799;
/* rgb */ color: rgb(166, 39, 153);
/* oklch */ color: oklch(51.8% 0.202 332.7);
Tailwind
colors: {
  custom: {
    50: '#c470b7',
    500: '#a62799',
    950: '#000000',
  },
}
SCSS
$custom: #a62799;
$custom-light: #c470b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a62799",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 306.142,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51809,
    "c": 0.2019,
    "h": 332.7
  },
  "luminance": 0.11858
}

Semantic roles & 50–950 ramp

primary
#A62799
secondary
#66C370
accent
#E55343
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A62799

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

Preview Lab → · Contrast checker → · Palette generator →

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