#A62FAB#A62FAB

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

Color values

HEX#A62FAB
RGBrgb(166, 47, 171)
HSLhsl(298, 57%, 43%)
HSVhsv(298, 73%, 67%)
CMYKcmyk(2.9%, 72.5%, 0%, 32.9%)
CIE-LABlab(42.89, 62.61, -41.44)
CIE-LCHlch(42.89, 75.09, 326.50°)
OKLaboklab(53.49% 0.1723 -0.1151)
OKLCHoklch(53.49% 0.207 326.2)
XYZxyz(24.0926, 13.0819, 39.7763)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62FAB #34AB2F
analogous
#682FAB #A62FAB #AB2F72
triadic
#A62FAB #ABA62F #2FABA6
tetradic
#A62FAB #AB682F #34AB2F #2F72AB
square
#A62FAB #AB682F #34AB2F #2F72AB
split-complementary
#A62FAB #72AB2F #2FAB68
monochromatic
#49154B #77227B #A62FAB #C84ACD #D77ADA

Accessibility & contrast

On white

5.81
#A62FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A62FAB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62FAB#FFFFFF#000000##FFFFFF
##A62FAB1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5CAE
Deuteranopia (green-blind)
#4C6AA8
Tritanopia (blue-blind)
#AA436A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a62fab;
/* rgb */ color: rgb(166, 47, 171);
/* oklch */ color: oklch(53.5% 0.207 326.2);
Tailwind
colors: {
  custom: {
    50: '#c474c4',
    500: '#a62fab',
    950: '#000000',
  },
}
SCSS
$custom: #a62fab;
$custom-light: #c474c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a62fab",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 297.581,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53485,
    "c": 0.2072,
    "h": 326.2
  },
  "luminance": 0.1308
}

Semantic roles & 50–950 ramp

primary
#A62FAB
secondary
#76C373
accent
#E0484E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A62FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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