#A62AAA#A62AAA

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

Color values

HEX#A62AAA
RGBrgb(166, 42, 170)
HSLhsl(298, 60%, 42%)
HSVhsv(298, 75%, 67%)
CMYKcmyk(2.4%, 75.3%, 0%, 33.3%)
CIE-LABlab(42.26, 64.08, -41.85)
CIE-LCHlch(42.26, 76.54, 326.85°)
OKLaboklab(53.02% 0.1769 -0.1163)
OKLCHoklch(53.02% 0.212 326.7)
XYZxyz(23.8091, 12.6669, 39.2133)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62AAA #2EAA2A
analogous
#662AAA #A62AAA #AA2A6E
triadic
#A62AAA #AAA62A #2AAAA6
tetradic
#A62AAA #AA662A #2EAA2A #2A6EAA
square
#A62AAA #AA662A #2EAA2A #2A6EAA
split-complementary
#A62AAA #6EAA2A #2AAA66
monochromatic
#461248 #761E79 #A62AAA #CC41D0 #D972DC

Accessibility & contrast

On white

5.94
#A62AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A62AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62AAA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62AAA#FFFFFF#000000##FFFFFF
##A62AAA1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAD
Deuteranopia (green-blind)
#4A69A7
Tritanopia (blue-blind)
#AB4069
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a62aaa;
/* rgb */ color: rgb(166, 42, 170);
/* oklch */ color: oklch(53.0% 0.212 326.7);
Tailwind
colors: {
  custom: {
    50: '#c471c4',
    500: '#a62aaa',
    950: '#000000',
  },
}
SCSS
$custom: #a62aaa;
$custom-light: #c471c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a62aaa",
  "rgb": {
    "r": 166,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 298.125,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53017,
    "c": 0.21168,
    "h": 326.7
  },
  "luminance": 0.12665
}

Semantic roles & 50–950 ramp

primary
#A62AAA
secondary
#6FC36C
accent
#E44449
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A62AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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