#A62BAB#A62BAB

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

Color values

HEX#A62BAB
RGBrgb(166, 43, 171)
HSLhsl(298, 60%, 42%)
HSVhsv(298, 75%, 67%)
CMYKcmyk(2.9%, 74.9%, 0%, 32.9%)
CIE-LABlab(42.42, 63.93, -42.18)
CIE-LCHlch(42.42, 76.59, 326.59°)
OKLaboklab(53.15% 0.176 -0.1172)
OKLCHoklch(53.15% 0.211 326.3)
XYZxyz(23.9400, 12.7767, 39.7254)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62BAB #30AB2B
analogous
#662BAB #A62BAB #AB2B70
triadic
#A62BAB #ABA62B #2BABA6
tetradic
#A62BAB #AB662B #30AB2B #2B70AB
square
#A62BAB #AB662B #30AB2B #2B70AB
split-complementary
#A62BAB #70AB2B #2BAB66
monochromatic
#471249 #771F7A #A62BAB #CA43D0 #D874DC

Accessibility & contrast

On white

5.91
#A62BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A62BAB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62BAB#FFFFFF#000000##FFFFFF
##A62BAB1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#4A69A8
Tritanopia (blue-blind)
#AA4169
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a62bab;
/* rgb */ color: rgb(166, 43, 171);
/* oklch */ color: oklch(53.2% 0.211 326.3);
Tailwind
colors: {
  custom: {
    50: '#c472c4',
    500: '#a62bab',
    950: '#000000',
  },
}
SCSS
$custom: #a62bab;
$custom-light: #c472c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a62bab",
  "rgb": {
    "r": 166,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 297.656,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53155,
    "c": 0.21145,
    "h": 326.3
  },
  "luminance": 0.12775
}

Semantic roles & 50–950 ramp

primary
#A62BAB
secondary
#71C46E
accent
#E3454B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A62BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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