#A727A7#A727A7

#A727A7 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.213 H 328.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A727A7
RGBrgb(167, 39, 167)
HSLhsl(300, 62%, 40%)
HSVhsv(300, 77%, 65%)
CMYKcmyk(0%, 76.6%, 0%, 34.5%)
CIE-LABlab(41.94, 64.70, -40.57)
CIE-LCHlch(41.94, 76.37, 327.92°)
OKLaboklab(52.76% 0.1806 -0.1125)
OKLCHoklch(52.76% 0.213 328.1)
XYZxyz(23.6366, 12.4583, 37.7115)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A727A7 #27A727
analogous
#6727A7 #A727A7 #A72767
triadic
#A727A7 #A7A727 #27A7A7
tetradic
#A727A7 #A76727 #27A727 #2767A7
square
#A727A7 #A76727 #27A727 #2767A7
split-complementary
#A727A7 #67A727 #27A767
monochromatic
#441044 #751B75 #A727A7 #D13AD1 #DD6CDD

Accessibility & contrast

On white

6.01
#A727A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A727A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A727A7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A727A7#FFFFFF#000000##FFFFFF
##A727A71.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0358AA
Deuteranopia (green-blind)
#4B69A4
Tritanopia (blue-blind)
#AC3C66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a727a7;
/* rgb */ color: rgb(167, 39, 167);
/* oklch */ color: oklch(52.8% 0.213 328.1);
Tailwind
colors: {
  custom: {
    50: '#c570c2',
    500: '#a727a7',
    950: '#000000',
  },
}
SCSS
$custom: #a727a7;
$custom-light: #c570c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a727a7",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 300,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52764,
    "c": 0.21277,
    "h": 328.1
  },
  "luminance": 0.12457
}

Semantic roles & 50–950 ramp

primary
#A727A7
secondary
#67C367
accent
#E54343
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A727A7

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

Preview Lab → · Contrast checker → · Palette generator →

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