#A62CAB#A62CAB

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

Color values

HEX#A62CAB
RGBrgb(166, 44, 171)
HSLhsl(298, 59%, 42%)
HSVhsv(298, 74%, 67%)
CMYKcmyk(2.9%, 74.3%, 0%, 32.9%)
CIE-LABlab(42.54, 63.61, -42.00)
CIE-LCHlch(42.54, 76.23, 326.57°)
OKLaboklab(53.24% 0.1751 -0.1167)
OKLCHoklch(53.24% 0.21 326.3)
XYZxyz(23.9768, 12.8503, 39.7377)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62CAB #31AB2C
analogous
#672CAB #A62CAB #AB2C70
triadic
#A62CAB #ABA62C #2CABA6
tetradic
#A62CAB #AB672C #31AB2C #2C70AB
square
#A62CAB #AB672C #31AB2C #2C70AB
split-complementary
#A62CAB #70AB2C #2CAB67
monochromatic
#47134A #771F7A #A62CAB #CA45CF #D876DC

Accessibility & contrast

On white

5.88
#A62CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A62CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62CAB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62CAB#FFFFFF#000000##FFFFFF
##A62CAB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045BAE
Deuteranopia (green-blind)
#4A6AA8
Tritanopia (blue-blind)
#AA416A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a62cab;
/* rgb */ color: rgb(166, 44, 171);
/* oklch */ color: oklch(53.2% 0.210 326.3);
Tailwind
colors: {
  custom: {
    50: '#c472c4',
    500: '#a62cab',
    950: '#000000',
  },
}
SCSS
$custom: #a62cab;
$custom-light: #c472c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a62cab",
  "rgb": {
    "r": 166,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 297.638,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53235,
    "c": 0.21041,
    "h": 326.3
  },
  "luminance": 0.12849
}

Semantic roles & 50–950 ramp

primary
#A62CAB
secondary
#73C36F
accent
#E2464C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A62CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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