#A127B1#A127B1

#A127B1 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.218 H 322.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A127B1
RGBrgb(161, 39, 177)
HSLhsl(293, 64%, 42%)
HSVhsv(293, 78%, 69%)
CMYKcmyk(9%, 78%, 0%, 30.6%)
CIE-LABlab(41.54, 65.18, -47.20)
CIE-LCHlch(41.54, 80.48, 324.09°)
OKLaboklab(52.48% 0.1734 -0.132)
OKLCHoklch(52.48% 0.218 322.7)
XYZxyz(23.3585, 12.2038, 42.7117)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A127B1 #37B127
analogous
#5C27B1 #A127B1 #B1277C
triadic
#A127B1 #B1A127 #27B1A1
tetradic
#A127B1 #B15C27 #37B127 #277CB1
square
#A127B1 #B15C27 #37B127 #277CB1
split-complementary
#A127B1 #7CB127 #27B15C
monochromatic
#46114D #731C7F #A127B1 #C440D5 #D372E0

Accessibility & contrast

On white

6.10
#A127B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A127B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A127B1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A127B1#FFFFFF#000000##FFFFFF
##A127B11.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#3E67AE
Tritanopia (blue-blind)
#A3436C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a127b1;
/* rgb */ color: rgb(161, 39, 177);
/* oklch */ color: oklch(52.5% 0.218 322.7);
Tailwind
colors: {
  custom: {
    50: '#c170c9',
    500: '#a127b1',
    950: '#000000',
  },
}
SCSS
$custom: #a127b1;
$custom-light: #c170c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a127b1",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 293.043,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52482,
    "c": 0.21793,
    "h": 322.7
  },
  "luminance": 0.12202
}

Semantic roles & 50–950 ramp

primary
#A127B1
secondary
#77C76D
accent
#E74154
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A127B1

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

Preview Lab → · Contrast checker → · Palette generator →

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