#A62FA2#A62FA2

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

Color values

HEX#A62FA2
RGBrgb(166, 47, 162)
HSLhsl(302, 56%, 42%)
HSVhsv(302, 72%, 65%)
CMYKcmyk(0%, 71.7%, 2.4%, 34.9%)
CIE-LABlab(42.38, 61.11, -36.87)
CIE-LCHlch(42.38, 71.37, 328.89°)
OKLaboklab(52.96% 0.1722 -0.1019)
OKLCHoklch(52.96% 0.2 329.4)
XYZxyz(23.2638, 12.7504, 35.4112)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62FA2 #2FA633
analogous
#6F2FA6 #A62FA2 #A62F67
triadic
#A62FA2 #A2A62F #2FA2A6
tetradic
#A62FA2 #A66F2F #2FA633 #2F67A6
square
#A62FA2 #A66F2F #2FA633 #2F67A6
split-complementary
#A62FA2 #67A62F #2FA66F
monochromatic
#471445 #762173 #A62FA2 #CB47C7 #D877D5

Accessibility & contrast

On white

5.92
#A62FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A62FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62FA2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62FA2#FFFFFF#000000##FFFFFF
##A62FA21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5AA5
Deuteranopia (green-blind)
#516A9F
Tritanopia (blue-blind)
#AC3F65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a62fa2;
/* rgb */ color: rgb(166, 47, 162);
/* oklch */ color: oklch(53.0% 0.200 329.4);
Tailwind
colors: {
  custom: {
    50: '#c473be',
    500: '#a62fa2',
    950: '#000000',
  },
}
SCSS
$custom: #a62fa2;
$custom-light: #c473be;
$custom-dark: #000000;
JSON
{
  "hex": "#a62fa2",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 302.017,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52964,
    "c": 0.20011,
    "h": 329.4
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#A62FA2
secondary
#70C173
accent
#DF4E49
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A62FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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