#A62FA6#A62FA6

#A62FA6 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.203 H 328.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A62FA6
RGBrgb(166, 47, 166)
HSLhsl(300, 56%, 42%)
HSVhsv(300, 72%, 65%)
CMYKcmyk(0%, 71.7%, 0%, 34.9%)
CIE-LABlab(42.60, 61.77, -38.92)
CIE-LCHlch(42.60, 73.01, 327.79°)
OKLaboklab(53.19% 0.1723 -0.1078)
OKLCHoklch(53.19% 0.203 328)
XYZxyz(23.6250, 12.8949, 37.3136)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62FA6 #2FA62F
analogous
#6B2FA6 #A62FA6 #A62F6B
triadic
#A62FA6 #A6A62F #2FA6A6
tetradic
#A62FA6 #A66B2F #2FA62F #2F6BA6
square
#A62FA6 #A66B2F #2FA62F #2F6BA6
split-complementary
#A62FA6 #6BA62F #2FA66B
monochromatic
#471447 #762176 #A62FA6 #CB47CB #D877D8

Accessibility & contrast

On white

5.87
#A62FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A62FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62FA6
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62FA6#FFFFFF#000000##FFFFFF
##A62FA61.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195BA9
Deuteranopia (green-blind)
#4F6AA3
Tritanopia (blue-blind)
#AB4168
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a62fa6;
/* rgb */ color: rgb(166, 47, 166);
/* oklch */ color: oklch(53.2% 0.203 328.0);
Tailwind
colors: {
  custom: {
    50: '#c473c1',
    500: '#a62fa6',
    950: '#000000',
  },
}
SCSS
$custom: #a62fa6;
$custom-light: #c473c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a62fa6",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 300,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53192,
    "c": 0.20324,
    "h": 328
  },
  "luminance": 0.12893
}

Semantic roles & 50–950 ramp

primary
#A62FA6
secondary
#70C170
accent
#DF4949
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A62FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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