#A627AF#A627AF

#A627AF is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.218 H 325.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#A627AF
RGBrgb(166, 39, 175)
HSLhsl(296, 64%, 42%)
HSVhsv(296, 78%, 69%)
CMYKcmyk(5.1%, 77.7%, 0%, 31.4%)
CIE-LABlab(42.24, 65.83, -44.85)
CIE-LCHlch(42.24, 79.65, 325.73°)
OKLaboklab(53.1% 0.1792 -0.125)
OKLCHoklch(53.1% 0.218 325.1)
XYZxyz(24.1887, 12.6548, 41.7177)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A627AF #30AF27
analogous
#6227AF #A627AF #AF2774
triadic
#A627AF #AFA627 #27AFA6
tetradic
#A627AF #AF6227 #30AF27 #2774AF
square
#A627AF #AF6227 #30AF27 #2774AF
split-complementary
#A627AF #74AF27 #27AF62
monochromatic
#47114B #771C7D #A627AF #CA3FD4 #D871DF

Accessibility & contrast

On white

5.95
#A627AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A627AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A627AF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A627AF#FFFFFF#000000##FFFFFF
##A627AF1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#4569AC
Tritanopia (blue-blind)
#AA416B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a627af;
/* rgb */ color: rgb(166, 39, 175);
/* oklch */ color: oklch(53.1% 0.218 325.1);
Tailwind
colors: {
  custom: {
    50: '#c471c7',
    500: '#a627af',
    950: '#000000',
  },
}
SCSS
$custom: #a627af;
$custom-light: #c471c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a627af",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 296.029,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53099,
    "c": 0.21845,
    "h": 325.1
  },
  "luminance": 0.12653
}

Semantic roles & 50–950 ramp

primary
#A627AF
secondary
#71C66B
accent
#E7414C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A627AF

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

Preview Lab → · Contrast checker → · Palette generator →

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