#A62AA6#A62AA6

#A62AA6 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.209 H 328.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A62AA6
RGBrgb(166, 42, 166)
HSLhsl(300, 60%, 41%)
HSVhsv(300, 75%, 65%)
CMYKcmyk(0%, 74.7%, 0%, 34.9%)
CIE-LABlab(42.03, 63.42, -39.83)
CIE-LCHlch(42.03, 74.89, 327.87°)
OKLaboklab(52.78% 0.177 -0.1104)
OKLCHoklch(52.78% 0.209 328)
XYZxyz(23.4365, 12.5178, 37.2508)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62AA6 #2AA62A
analogous
#682AA6 #A62AA6 #A62A68
triadic
#A62AA6 #A6A62A #2AA6A6
tetradic
#A62AA6 #A6682A #2AA62A #2A68A6
square
#A62AA6 #A6682A #2AA62A #2A68A6
split-complementary
#A62AA6 #68A62A #2AA668
monochromatic
#441144 #751E75 #A62AA6 #CE3FCE #DB70DB

Accessibility & contrast

On white

5.99
#A62AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A62AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62AA6
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62AA6#FFFFFF#000000##FFFFFF
##A62AA61.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E59A9
Deuteranopia (green-blind)
#4C69A3
Tritanopia (blue-blind)
#AB3E66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a62aa6;
/* rgb */ color: rgb(166, 42, 166);
/* oklch */ color: oklch(52.8% 0.209 328.0);
Tailwind
colors: {
  custom: {
    50: '#c471c1',
    500: '#a62aa6',
    950: '#000000',
  },
}
SCSS
$custom: #a62aa6;
$custom-light: #c471c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a62aa6",
  "rgb": {
    "r": 166,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 300,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52779,
    "c": 0.20858,
    "h": 328
  },
  "luminance": 0.12516
}

Semantic roles & 50–950 ramp

primary
#A62AA6
secondary
#6AC26A
accent
#E34545
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A62AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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