#A627A5#A627A5

#A627A5 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.211 H 328.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A627A5
RGBrgb(166, 39, 165)
HSLhsl(300, 62%, 40%)
HSVhsv(300, 77%, 65%)
CMYKcmyk(0%, 76.5%, 0.6%, 34.9%)
CIE-LABlab(41.65, 64.17, -39.83)
CIE-LCHlch(41.65, 75.53, 328.17°)
OKLaboklab(52.49% 0.1796 -0.1104)
OKLCHoklch(52.49% 0.211 328.4)
XYZxyz(23.2427, 12.2764, 36.7354)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A627A5 #27A628
analogous
#6727A6 #A627A5 #A62766
triadic
#A627A5 #A5A627 #27A5A6
tetradic
#A627A5 #A66727 #27A628 #2766A6
square
#A627A5 #A66727 #27A628 #2766A6
split-complementary
#A627A5 #66A627 #27A667
monochromatic
#431042 #741B74 #A627A5 #D13ACF #DC6BDB

Accessibility & contrast

On white

6.08
#A627A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A627A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A627A5
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A627A5#FFFFFF#000000##FFFFFF
##A627A51.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0858A8
Deuteranopia (green-blind)
#4C68A2
Tritanopia (blue-blind)
#AC3C65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a627a5;
/* rgb */ color: rgb(166, 39, 165);
/* oklch */ color: oklch(52.5% 0.211 328.4);
Tailwind
colors: {
  custom: {
    50: '#c470c0',
    500: '#a627a5',
    950: '#000000',
  },
}
SCSS
$custom: #a627a5;
$custom-light: #c470c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a627a5",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 300.472,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52493,
    "c": 0.21079,
    "h": 328.4
  },
  "luminance": 0.12275
}

Semantic roles & 50–950 ramp

primary
#A627A5
secondary
#66C367
accent
#E54443
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A627A5

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

Preview Lab → · Contrast checker → · Palette generator →

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