#A62AB1#A62AB1

#A62AB1 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.217 H 324.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A62AB1
RGBrgb(166, 42, 177)
HSLhsl(295, 62%, 43%)
HSVhsv(295, 76%, 69%)
CMYKcmyk(6.2%, 76.3%, 0%, 30.6%)
CIE-LABlab(42.67, 65.27, -45.34)
CIE-LCHlch(42.67, 79.47, 325.21°)
OKLaboklab(53.45% 0.1766 -0.1265)
OKLCHoklch(53.45% 0.217 324.4)
XYZxyz(24.4890, 12.9388, 42.7940)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62AB1 #35B12A
analogous
#622AB1 #A62AB1 #B12A78
triadic
#A62AB1 #B1A62A #2AB1A6
tetradic
#A62AB1 #B1622A #35B12A #2A78B1
square
#A62AB1 #B1622A #35B12A #2A78B1
split-complementary
#A62AB1 #78B12A #2AB162
monochromatic
#49134E #781E80 #A62AB1 #C745D3 #D677DF

Accessibility & contrast

On white

5.85
#A62AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A62AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62AB1
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62AB1#FFFFFF#000000##FFFFFF
##A62AB11.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#456AAE
Tritanopia (blue-blind)
#A9436C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a62ab1;
/* rgb */ color: rgb(166, 42, 177);
/* oklch */ color: oklch(53.4% 0.217 324.4);
Tailwind
colors: {
  custom: {
    50: '#c472c9',
    500: '#a62ab1',
    950: '#000000',
  },
}
SCSS
$custom: #a62ab1;
$custom-light: #c472c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a62ab1",
  "rgb": {
    "r": 166,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 295.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53445,
    "c": 0.21717,
    "h": 324.4
  },
  "luminance": 0.12937
}

Semantic roles & 50–950 ramp

primary
#A62AB1
secondary
#77C670
accent
#E54350
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A62AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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