#A127B0#A127B0

#A127B0 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.217 H 323.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A127B0
RGBrgb(161, 39, 176)
HSLhsl(293, 64%, 42%)
HSVhsv(293, 78%, 69%)
CMYKcmyk(8.5%, 77.8%, 0%, 31%)
CIE-LABlab(41.48, 65.00, -46.71)
CIE-LCHlch(41.48, 80.05, 324.30°)
OKLaboklab(52.42% 0.1735 -0.1306)
OKLCHoklch(52.42% 0.217 323)
XYZxyz(23.2592, 12.1641, 42.1887)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A127B0 #36B027
analogous
#5D27B0 #A127B0 #B0277A
triadic
#A127B0 #B0A127 #27B0A1
tetradic
#A127B0 #B05D27 #36B027 #277AB0
square
#A127B0 #B05D27 #36B027 #277AB0
split-complementary
#A127B0 #7AB027 #27B05D
monochromatic
#45114C #731C7E #A127B0 #C440D5 #D472E0

Accessibility & contrast

On white

6.12
#A127B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A127B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A127B0
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A127B0#FFFFFF#000000##FFFFFF
##A127B01.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#3F66AD
Tritanopia (blue-blind)
#A3426B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a127b0;
/* rgb */ color: rgb(161, 39, 176);
/* oklch */ color: oklch(52.4% 0.217 323.0);
Tailwind
colors: {
  custom: {
    50: '#c170c8',
    500: '#a127b0',
    950: '#000000',
  },
}
SCSS
$custom: #a127b0;
$custom-light: #c170c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a127b0",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 293.431,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52418,
    "c": 0.21713,
    "h": 323
  },
  "luminance": 0.12163
}

Semantic roles & 50–950 ramp

primary
#A127B0
secondary
#76C76C
accent
#E74153
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A127B0

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

Preview Lab → · Contrast checker → · Palette generator →

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