#A127A6#A127A6

#A127A6 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.209 H 326.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A127A6
RGBrgb(161, 39, 166)
HSLhsl(298, 62%, 40%)
HSVhsv(298, 77%, 65%)
CMYKcmyk(3%, 76.5%, 0%, 34.9%)
CIE-LABlab(40.87, 63.29, -41.73)
CIE-LCHlch(40.87, 75.81, 326.60°)
OKLaboklab(51.79% 0.1742 -0.116)
OKLCHoklch(51.79% 0.209 326.3)
XYZxyz(22.3060, 11.7828, 37.1685)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A127A6 #2CA627
analogous
#6227A6 #A127A6 #A6276B
triadic
#A127A6 #A6A127 #27A6A1
tetradic
#A127A6 #A66227 #2CA627 #276BA6
square
#A127A6 #A66227 #2CA627 #276BA6
split-complementary
#A127A6 #6BA627 #27A662
monochromatic
#411043 #711B74 #A127A6 #CB3AD1 #D86BDC

Accessibility & contrast

On white

6.26
#A127A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A127A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A127A6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A127A6#FFFFFF#000000##FFFFFF
##A127A61.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4666A3
Tritanopia (blue-blind)
#A53D66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a127a6;
/* rgb */ color: rgb(161, 39, 166);
/* oklch */ color: oklch(51.8% 0.209 326.3);
Tailwind
colors: {
  custom: {
    50: '#c16fc1',
    500: '#a127a6',
    950: '#000000',
  },
}
SCSS
$custom: #a127a6;
$custom-light: #c16fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#a127a6",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 297.638,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51793,
    "c": 0.20926,
    "h": 326.3
  },
  "luminance": 0.11781
}

Semantic roles & 50–950 ramp

primary
#A127A6
secondary
#6AC366
accent
#E54349
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A127A6

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

Preview Lab → · Contrast checker → · Palette generator →

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