#A727A5#A727A5

#A727A5 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.211 H 328.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A727A5
RGBrgb(167, 39, 165)
HSLhsl(301, 62%, 40%)
HSVhsv(301, 77%, 65%)
CMYKcmyk(0%, 76.6%, 1.2%, 34.5%)
CIE-LABlab(41.82, 64.38, -39.55)
CIE-LCHlch(41.82, 75.56, 328.44°)
OKLaboklab(52.65% 0.1806 -0.1095)
OKLCHoklch(52.65% 0.211 328.8)
XYZxyz(23.4532, 12.3849, 36.7453)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A727A5 #27A729
analogous
#6927A7 #A727A5 #A72765
triadic
#A727A5 #A5A727 #27A5A7
tetradic
#A727A5 #A76927 #27A729 #2765A7
square
#A727A5 #A76927 #27A729 #2765A7
split-complementary
#A727A5 #65A727 #27A769
monochromatic
#441043 #751B74 #A727A5 #D13ACF #DD6CDB

Accessibility & contrast

On white

6.04
#A727A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A727A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A727A5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A727A5#FFFFFF#000000##FFFFFF
##A727A51.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A58A8
Deuteranopia (green-blind)
#4D68A2
Tritanopia (blue-blind)
#AD3B65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a727a5;
/* rgb */ color: rgb(167, 39, 165);
/* oklch */ color: oklch(52.6% 0.211 328.8);
Tailwind
colors: {
  custom: {
    50: '#c570c0',
    500: '#a727a5',
    950: '#000000',
  },
}
SCSS
$custom: #a727a5;
$custom-light: #c570c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a727a5",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 300.938,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52646,
    "c": 0.21126,
    "h": 328.8
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#A727A5
secondary
#67C368
accent
#E54543
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A727A5

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

Preview Lab → · Contrast checker → · Palette generator →

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