#A62AB2#A62AB2

#A62AB2 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.218 H 324.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A62AB2
RGBrgb(166, 42, 178)
HSLhsl(295, 62%, 43%)
HSVhsv(295, 76%, 70%)
CMYKcmyk(6.7%, 76.4%, 0%, 30.2%)
CIE-LABlab(42.73, 65.44, -45.84)
CIE-LCHlch(42.73, 79.90, 324.99°)
OKLaboklab(53.51% 0.1765 -0.1279)
OKLCHoklch(53.51% 0.218 324.1)
XYZxyz(24.5890, 12.9788, 43.3209)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62AB2 #36B22A
analogous
#622AB2 #A62AB2 #B22A7A
triadic
#A62AB2 #B2A62A #2AB2A6
tetradic
#A62AB2 #B2622A #36B22A #2A7AB2
square
#A62AB2 #B2622A #36B22A #2A7AB2
split-complementary
#A62AB2 #7AB22A #2AB262
monochromatic
#4A134F #781E80 #A62AB2 #C746D3 #D677DF

Accessibility & contrast

On white

5.84
#A62AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A62AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62AB2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62AB2#FFFFFF#000000##FFFFFF
##A62AB21.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#446AAF
Tritanopia (blue-blind)
#A9446D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a62ab2;
/* rgb */ color: rgb(166, 42, 178);
/* oklch */ color: oklch(53.5% 0.218 324.1);
Tailwind
colors: {
  custom: {
    50: '#c472ca',
    500: '#a62ab2',
    950: '#000000',
  },
}
SCSS
$custom: #a62ab2;
$custom-light: #c472ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a62ab2",
  "rgb": {
    "r": 166,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 294.706,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53507,
    "c": 0.21795,
    "h": 324.1
  },
  "luminance": 0.12977
}

Semantic roles & 50–950 ramp

primary
#A62AB2
secondary
#79C771
accent
#E54351
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A62AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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