#A62AAB#A62AAB

#A62AAB is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.212 H 326.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A62AAB
RGBrgb(166, 42, 171)
HSLhsl(298, 61%, 42%)
HSVhsv(298, 75%, 67%)
CMYKcmyk(2.9%, 75.4%, 0%, 32.9%)
CIE-LABlab(42.31, 64.25, -42.35)
CIE-LCHlch(42.31, 76.95, 326.61°)
OKLaboklab(53.08% 0.1769 -0.1177)
OKLCHoklch(53.08% 0.212 326.3)
XYZxyz(23.9041, 12.7048, 39.7134)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62AAB #2FAB2A
analogous
#652AAB #A62AAB #AB2A70
triadic
#A62AAB #ABA62A #2AABA6
tetradic
#A62AAB #AB652A #2FAB2A #2A70AB
square
#A62AAB #AB652A #2FAB2A #2A70AB
split-complementary
#A62AAB #70AB2A #2AAB65
monochromatic
#471249 #761E7A #A62AAB #CB42D1 #D873DD

Accessibility & contrast

On white

5.93
#A62AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A62AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62AAB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62AAB#FFFFFF#000000##FFFFFF
##A62AAB1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#4969A8
Tritanopia (blue-blind)
#AA4069
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a62aab;
/* rgb */ color: rgb(166, 42, 171);
/* oklch */ color: oklch(53.1% 0.212 326.3);
Tailwind
colors: {
  custom: {
    50: '#c472c4',
    500: '#a62aab',
    950: '#000000',
  },
}
SCSS
$custom: #a62aab;
$custom-light: #c472c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a62aab",
  "rgb": {
    "r": 166,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 297.674,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.21246,
    "h": 326.3
  },
  "luminance": 0.12703
}

Semantic roles & 50–950 ramp

primary
#A62AAB
secondary
#70C46D
accent
#E4444A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A62AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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