#A727A8#A727A8

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

Color values

HEX#A727A8
RGBrgb(167, 39, 168)
HSLhsl(300, 62%, 41%)
HSVhsv(300, 77%, 66%)
CMYKcmyk(0.6%, 76.8%, 0%, 34.1%)
CIE-LABlab(41.99, 64.87, -41.07)
CIE-LCHlch(41.99, 76.78, 327.66°)
OKLaboklab(52.82% 0.1806 -0.114)
OKLCHoklch(52.82% 0.214 327.7)
XYZxyz(23.7294, 12.4954, 38.2002)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A727A8 #28A827
analogous
#6627A8 #A727A8 #A82768
triadic
#A727A8 #A8A727 #27A8A7
tetradic
#A727A8 #A86627 #28A827 #2768A8
square
#A727A8 #A86627 #28A827 #2768A8
split-complementary
#A727A8 #68A827 #27A866
monochromatic
#441045 #761B76 #A727A8 #D03BD1 #DC6CDD

Accessibility & contrast

On white

6.00
#A727A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A727A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A727A8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A727A8#FFFFFF#000000##FFFFFF
##A727A81.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a727a8;
/* rgb */ color: rgb(167, 39, 168);
/* oklch */ color: oklch(52.8% 0.214 327.7);
Tailwind
colors: {
  custom: {
    50: '#c570c2',
    500: '#a727a8',
    950: '#000000',
  },
}
SCSS
$custom: #a727a8;
$custom-light: #c570c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a727a8",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 299.535,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52824,
    "c": 0.21352,
    "h": 327.7
  },
  "luminance": 0.12494
}

Semantic roles & 50–950 ramp

primary
#A727A8
secondary
#68C367
accent
#E54244
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A727A8

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

Preview Lab → · Contrast checker → · Palette generator →

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