#A62BAC#A62BAC

#A62BAC is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.212 H 326.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A62BAC
RGBrgb(166, 43, 172)
HSLhsl(297, 60%, 42%)
HSVhsv(297, 75%, 67%)
CMYKcmyk(3.5%, 75%, 0%, 32.5%)
CIE-LABlab(42.48, 64.10, -42.68)
CIE-LCHlch(42.48, 77.01, 326.34°)
OKLaboklab(53.22% 0.1759 -0.1187)
OKLCHoklch(53.22% 0.212 326)
XYZxyz(24.0357, 12.8149, 40.2293)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62BAC #31AC2B
analogous
#652BAC #A62BAC #AC2B72
triadic
#A62BAC #ACA62B #2BACA6
tetradic
#A62BAC #AC652B #31AC2B #2B72AC
square
#A62BAC #AC652B #31AC2B #2B72AC
split-complementary
#A62BAC #72AC2B #2BAC65
monochromatic
#47134A #771F7B #A62BAC #CA44D0 #D875DC

Accessibility & contrast

On white

5.89
#A62BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A62BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62BAC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62BAC#FFFFFF#000000##FFFFFF
##A62BAC1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#4969A9
Tritanopia (blue-blind)
#AA416A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a62bac;
/* rgb */ color: rgb(166, 43, 172);
/* oklch */ color: oklch(53.2% 0.212 326.0);
Tailwind
colors: {
  custom: {
    50: '#c472c5',
    500: '#a62bac',
    950: '#000000',
  },
}
SCSS
$custom: #a62bac;
$custom-light: #c472c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a62bac",
  "rgb": {
    "r": 166,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 297.209,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53216,
    "c": 0.21223,
    "h": 326
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

primary
#A62BAC
secondary
#73C46F
accent
#E3454C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A62BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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