#A127D0#A127D0

#A127D0 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.6% C 0.243 H 313.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A127D0
RGBrgb(161, 39, 208)
HSLhsl(283, 68%, 48%)
HSVhsv(283, 81%, 82%)
CMYKcmyk(22.6%, 81.3%, 0%, 18.4%)
CIE-LABlab(43.63, 70.88, -61.95)
CIE-LCHlch(43.63, 94.13, 318.84°)
OKLaboklab(54.62% 0.1686 -0.1753)
OKLCHoklch(54.62% 0.243 313.9)
XYZxyz(26.8066, 13.5831, 60.8720)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A127D0 #56D027
analogous
#4D27D0 #A127D0 #D027AA
triadic
#A127D0 #D0A127 #27D0A1
tetradic
#A127D0 #D04D27 #56D027 #27AAD0
square
#A127D0 #D04D27 #56D027 #27AAD0
split-complementary
#A127D0 #AAD027 #27D04D
monochromatic
#511469 #791D9C #A127D0 #B955DF #CE89E9

Accessibility & contrast

On white

5.65
#A127D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A127D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A127D0
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A127D0#FFFFFF#000000##FFFFFF
##A127D01.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D4
Deuteranopia (green-blind)
#0F6ACD
Tritanopia (blue-blind)
#9C527E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a127d0;
/* rgb */ color: rgb(161, 39, 208);
/* oklch */ color: oklch(54.6% 0.243 313.9);
Tailwind
colors: {
  custom: {
    50: '#c271df',
    500: '#a127d0',
    950: '#000000',
  },
}
SCSS
$custom: #a127d0;
$custom-light: #c271df;
$custom-dark: #000000;
JSON
{
  "hex": "#a127d0",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 208
  },
  "hsl": {
    "h": 283.314,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54616,
    "c": 0.24318,
    "h": 313.9
  },
  "luminance": 0.13582
}

Semantic roles & 50–950 ramp

primary
#A127D0
secondary
#97D280
accent
#EB3D6D
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A127D0

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

Preview Lab → · Contrast checker → · Palette generator →

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