#A62AB5#A62AB5

#A62AB5 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.220 H 323.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A62AB5
RGBrgb(166, 42, 181)
HSLhsl(294, 62%, 44%)
HSVhsv(294, 77%, 71%)
CMYKcmyk(8.3%, 76.8%, 0%, 29%)
CIE-LABlab(42.91, 65.96, -47.32)
CIE-LCHlch(42.91, 81.18, 324.35°)
OKLaboklab(53.7% 0.1763 -0.1322)
OKLCHoklch(53.7% 0.22 323.1)
XYZxyz(24.8935, 13.1006, 44.9246)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62AB5 #39B52A
analogous
#602AB5 #A62AB5 #B52A7E
triadic
#A62AB5 #B5A62A #2AB5A6
tetradic
#A62AB5 #B5602A #39B52A #2A7EB5
square
#A62AB5 #B5602A #39B52A #2A7EB5
split-complementary
#A62AB5 #7EB52A #2AB560
monochromatic
#4B1352 #781E83 #A62AB5 #C548D4 #D579E0

Accessibility & contrast

On white

5.80
#A62AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A62AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62AB5
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62AB5#FFFFFF#000000##FFFFFF
##A62AB51.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#426AB2
Tritanopia (blue-blind)
#A9456F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a62ab5;
/* rgb */ color: rgb(166, 42, 181);
/* oklch */ color: oklch(53.7% 0.220 323.1);
Tailwind
colors: {
  custom: {
    50: '#c472cc',
    500: '#a62ab5',
    950: '#000000',
  },
}
SCSS
$custom: #a62ab5;
$custom-light: #c472cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a62ab5",
  "rgb": {
    "r": 166,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 293.525,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53696,
    "c": 0.22034,
    "h": 323.1
  },
  "luminance": 0.13099
}

Semantic roles & 50–950 ramp

primary
#A62AB5
secondary
#7CC873
accent
#E54254
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A62AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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