#A727B1#A727B1

#A727B1 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.220 H 324.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A727B1
RGBrgb(167, 39, 177)
HSLhsl(296, 64%, 42%)
HSVhsv(296, 78%, 69%)
CMYKcmyk(5.6%, 78%, 0%, 30.6%)
CIE-LABlab(42.52, 66.37, -45.57)
CIE-LCHlch(42.52, 80.50, 325.53°)
OKLaboklab(53.37% 0.1801 -0.1271)
OKLCHoklch(53.37% 0.22 324.8)
XYZxyz(24.5971, 12.8425, 42.7697)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A727B1 #31B127
analogous
#6227B1 #A727B1 #B12776
triadic
#A727B1 #B1A727 #27B1A7
tetradic
#A727B1 #B16227 #31B127 #2776B1
square
#A727B1 #B16227 #31B127 #2776B1
split-complementary
#A727B1 #76B127 #27B162
monochromatic
#48114D #781C7F #A727B1 #CA40D5 #D872E0

Accessibility & contrast

On white

5.89
#A727B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A727B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A727B1
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A727B1#FFFFFF#000000##FFFFFF
##A727B11.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#456AAE
Tritanopia (blue-blind)
#AB416C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a727b1;
/* rgb */ color: rgb(167, 39, 177);
/* oklch */ color: oklch(53.4% 0.220 324.8);
Tailwind
colors: {
  custom: {
    50: '#c571c9',
    500: '#a727b1',
    950: '#000000',
  },
}
SCSS
$custom: #a727b1;
$custom-light: #c571c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a727b1",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 295.652,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53373,
    "c": 0.22043,
    "h": 324.8
  },
  "luminance": 0.12841
}

Semantic roles & 50–950 ramp

primary
#A727B1
secondary
#73C76D
accent
#E7414D
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A727B1

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

Preview Lab → · Contrast checker → · Palette generator →

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