#A62FAC#A62FAC

#A62FAC is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.208 H 325.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A62FAC
RGBrgb(166, 47, 172)
HSLhsl(297, 57%, 43%)
HSVhsv(297, 73%, 67%)
CMYKcmyk(3.5%, 72.7%, 0%, 32.5%)
CIE-LABlab(42.94, 62.79, -41.95)
CIE-LCHlch(42.94, 75.51, 326.25°)
OKLaboklab(53.54% 0.1723 -0.1166)
OKLCHoklch(53.54% 0.208 325.9)
XYZxyz(24.1883, 13.1202, 40.2802)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62FAC #35AC2F
analogous
#672FAC #A62FAC #AC2F73
triadic
#A62FAC #ACA62F #2FACA6
tetradic
#A62FAC #AC672F #35AC2F #2F73AC
square
#A62FAC #AC672F #35AC2F #2F73AC
split-complementary
#A62FAC #73AC2F #2FAC67
monochromatic
#49154C #78227C #A62FAC #C74BCE #D67BDB

Accessibility & contrast

On white

5.80
#A62FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A62FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62FAC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62FAC#FFFFFF#000000##FFFFFF
##A62FAC1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5CAF
Deuteranopia (green-blind)
#4B6AA9
Tritanopia (blue-blind)
#AA446B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a62fac;
/* rgb */ color: rgb(166, 47, 172);
/* oklch */ color: oklch(53.5% 0.208 325.9);
Tailwind
colors: {
  custom: {
    50: '#c474c5',
    500: '#a62fac',
    950: '#000000',
  },
}
SCSS
$custom: #a62fac;
$custom-light: #c474c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a62fac",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 297.12,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53544,
    "c": 0.20801,
    "h": 325.9
  },
  "luminance": 0.13119
}

Semantic roles & 50–950 ramp

primary
#A62FAC
secondary
#77C374
accent
#E0474F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A62FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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