#A627B1#A627B1

#A627B1 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.220 H 324.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A627B1
RGBrgb(166, 39, 177)
HSLhsl(295, 64%, 42%)
HSVhsv(295, 78%, 69%)
CMYKcmyk(6.2%, 78%, 0%, 30.6%)
CIE-LABlab(42.36, 66.17, -45.84)
CIE-LCHlch(42.36, 80.50, 325.29°)
OKLaboklab(53.22% 0.179 -0.1279)
OKLCHoklch(53.22% 0.22 324.5)
XYZxyz(24.3866, 12.7339, 42.7599)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A627B1 #32B127
analogous
#6127B1 #A627B1 #B12777
triadic
#A627B1 #B1A627 #27B1A6
tetradic
#A627B1 #B16127 #32B127 #2777B1
square
#A627B1 #B16127 #32B127 #2777B1
split-complementary
#A627B1 #77B127 #27B161
monochromatic
#48114D #771C7F #A627B1 #C940D5 #D772E0

Accessibility & contrast

On white

5.92
#A627B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A627B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A627B1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A627B1#FFFFFF#000000##FFFFFF
##A627B11.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#4469AE
Tritanopia (blue-blind)
#A9426C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a627b1;
/* rgb */ color: rgb(166, 39, 177);
/* oklch */ color: oklch(53.2% 0.220 324.5);
Tailwind
colors: {
  custom: {
    50: '#c471c9',
    500: '#a627b1',
    950: '#000000',
  },
}
SCSS
$custom: #a627b1;
$custom-light: #c471c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a627b1",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 295.217,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53224,
    "c": 0.22,
    "h": 324.5
  },
  "luminance": 0.12732
}

Semantic roles & 50–950 ramp

primary
#A627B1
secondary
#74C76D
accent
#E7414E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A627B1

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

Preview Lab → · Contrast checker → · Palette generator →

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