#A627A2#A627A2

#A627A2 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.209 H 329.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A627A2
RGBrgb(166, 39, 162)
HSLhsl(302, 62%, 40%)
HSVhsv(302, 77%, 65%)
CMYKcmyk(0%, 76.5%, 2.4%, 34.9%)
CIE-LABlab(41.48, 63.69, -38.30)
CIE-LCHlch(41.48, 74.32, 328.97°)
OKLaboklab(52.32% 0.1796 -0.1059)
OKLCHoklch(52.32% 0.209 329.5)
XYZxyz(22.9728, 12.1684, 35.3142)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A627A2 #27A62B
analogous
#6B27A6 #A627A2 #A62762
triadic
#A627A2 #A2A627 #27A2A6
tetradic
#A627A2 #A66B27 #27A62B #2762A6
square
#A627A2 #A66B27 #27A62B #2762A6
split-complementary
#A627A2 #62A627 #27A66B
monochromatic
#431041 #741B72 #A627A2 #D13ACC #DC6BD9

Accessibility & contrast

On white

6.12
#A627A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A627A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A627A2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A627A2#FFFFFF#000000##FFFFFF
##A627A21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1157A5
Deuteranopia (green-blind)
#4D689F
Tritanopia (blue-blind)
#AC3A63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a627a2;
/* rgb */ color: rgb(166, 39, 162);
/* oklch */ color: oklch(52.3% 0.209 329.5);
Tailwind
colors: {
  custom: {
    50: '#c470be',
    500: '#a627a2',
    950: '#000000',
  },
}
SCSS
$custom: #a627a2;
$custom-light: #c470be;
$custom-dark: #000000;
JSON
{
  "hex": "#a627a2",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 301.89,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52318,
    "c": 0.20853,
    "h": 329.5
  },
  "luminance": 0.12167
}

Semantic roles & 50–950 ramp

primary
#A627A2
secondary
#66C369
accent
#E54843
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A627A2

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

Preview Lab → · Contrast checker → · Palette generator →

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