#A727A9#A727A9

#A727A9 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.214 H 327.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A727A9
RGBrgb(167, 39, 169)
HSLhsl(299, 63%, 41%)
HSVhsv(299, 77%, 66%)
CMYKcmyk(1.2%, 76.9%, 0%, 33.7%)
CIE-LABlab(42.05, 65.03, -41.57)
CIE-LCHlch(42.05, 77.19, 327.41°)
OKLaboklab(52.88% 0.1805 -0.1154)
OKLCHoklch(52.88% 0.214 327.4)
XYZxyz(23.8230, 12.5328, 38.6928)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A727A9 #29A927
analogous
#6627A9 #A727A9 #A9276A
triadic
#A727A9 #A9A727 #27A9A7
tetradic
#A727A9 #A96627 #29A927 #276AA9
square
#A727A9 #A96627 #29A927 #276AA9
split-complementary
#A727A9 #6AA927 #27A966
monochromatic
#451046 #761C77 #A727A9 #D03BD2 #DC6DDD

Accessibility & contrast

On white

5.99
#A727A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A727A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A727A9
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A727A9#FFFFFF#000000##FFFFFF
##A727A91.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4A69A6
Tritanopia (blue-blind)
#AC3D67
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a727a9;
/* rgb */ color: rgb(167, 39, 169);
/* oklch */ color: oklch(52.9% 0.214 327.4);
Tailwind
colors: {
  custom: {
    50: '#c570c3',
    500: '#a727a9',
    950: '#000000',
  },
}
SCSS
$custom: #a727a9;
$custom-light: #c570c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a727a9",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 299.077,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52884,
    "c": 0.21428,
    "h": 327.4
  },
  "luminance": 0.12531
}

Semantic roles & 50–950 ramp

primary
#A727A9
secondary
#69C468
accent
#E64245
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A727A9

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

Preview Lab → · Contrast checker → · Palette generator →

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