#A62FA7#A62FA7

#A62FA7 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.204 H 327.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A62FA7
RGBrgb(166, 47, 167)
HSLhsl(300, 56%, 42%)
HSVhsv(300, 72%, 65%)
CMYKcmyk(0.6%, 71.9%, 0%, 34.5%)
CIE-LABlab(42.66, 61.94, -39.42)
CIE-LCHlch(42.66, 73.42, 327.52°)
OKLaboklab(53.25% 0.1723 -0.1092)
OKLCHoklch(53.25% 0.204 327.6)
XYZxyz(23.7171, 12.9317, 37.7986)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62FA7 #30A72F
analogous
#6A2FA7 #A62FA7 #A72F6C
triadic
#A62FA7 #A7A62F #2FA7A6
tetradic
#A62FA7 #A76A2F #30A72F #2F6CA7
square
#A62FA7 #A76A2F #30A72F #2F6CA7
split-complementary
#A62FA7 #6CA72F #2FA76A
monochromatic
#471447 #772277 #A62FA7 #CA48CB #D878D9

Accessibility & contrast

On white

5.86
#A62FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A62FA7
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62FA7#FFFFFF#000000##FFFFFF
##A62FA71.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175BAA
Deuteranopia (green-blind)
#4E6AA4
Tritanopia (blue-blind)
#AB4168
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a62fa7;
/* rgb */ color: rgb(166, 47, 167);
/* oklch */ color: oklch(53.3% 0.204 327.6);
Tailwind
colors: {
  custom: {
    50: '#c473c1',
    500: '#a62fa7',
    950: '#000000',
  },
}
SCSS
$custom: #a62fa7;
$custom-light: #c473c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a62fa7",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 299.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5325,
    "c": 0.20403,
    "h": 327.6
  },
  "luminance": 0.1293
}

Semantic roles & 50–950 ramp

primary
#A62FA7
secondary
#71C171
accent
#DF484A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A62FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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