#A62FA1#A62FA1

#A62FA1 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.9% C 0.199 H 329.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A62FA1
RGBrgb(166, 47, 161)
HSLhsl(303, 56%, 42%)
HSVhsv(303, 72%, 65%)
CMYKcmyk(0%, 71.7%, 3%, 34.9%)
CIE-LABlab(42.33, 60.94, -36.36)
CIE-LCHlch(42.33, 70.97, 329.18°)
OKLaboklab(52.91% 0.1722 -0.1004)
OKLCHoklch(52.91% 0.199 329.8)
XYZxyz(23.1753, 12.7150, 34.9449)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62FA1 #2FA634
analogous
#702FA6 #A62FA1 #A62F66
triadic
#A62FA1 #A1A62F #2FA1A6
tetradic
#A62FA1 #A6702F #2FA634 #2F66A6
square
#A62FA1 #A6702F #2FA634 #2F66A6
split-complementary
#A62FA1 #66A62F #2FA670
monochromatic
#471444 #762173 #A62FA1 #CB47C5 #D877D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A62FA1#FFFFFF#000000##FFFFFF
##A62FA11.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)
#215AA4
Deuteranopia (green-blind)
#516A9E
Tritanopia (blue-blind)
#AC3F65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a62fa1;
/* rgb */ color: rgb(166, 47, 161);
/* oklch */ color: oklch(52.9% 0.199 329.8);
Tailwind
colors: {
  custom: {
    50: '#c473bd',
    500: '#a62fa1',
    950: '#000000',
  },
}
SCSS
$custom: #a62fa1;
$custom-light: #c473bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a62fa1",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 302.521,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52907,
    "c": 0.19933,
    "h": 329.8
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

primary
#A62FA1
secondary
#70C174
accent
#DF4F49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A62FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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