#A727B0#A727B0

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

Color values

HEX#A727B0
RGBrgb(167, 39, 176)
HSLhsl(296, 64%, 42%)
HSVhsv(296, 78%, 69%)
CMYKcmyk(5.1%, 77.8%, 0%, 31%)
CIE-LABlab(42.46, 66.20, -45.07)
CIE-LCHlch(42.46, 80.08, 325.75°)
OKLaboklab(53.31% 0.1802 -0.1256)
OKLCHoklch(53.31% 0.22 325.1)
XYZxyz(24.4978, 12.8028, 42.2467)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A727B0 #30B027
analogous
#6227B0 #A727B0 #B02775
triadic
#A727B0 #B0A727 #27B0A7
tetradic
#A727B0 #B06227 #30B027 #2775B0
square
#A727B0 #B06227 #30B027 #2775B0
split-complementary
#A727B0 #75B027 #27B062
monochromatic
#48114C #771C7E #A727B0 #CB40D5 #D872E0

Accessibility & contrast

On white

5.90
#A727B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A727B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A727B0
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A727B0#FFFFFF#000000##FFFFFF
##A727B01.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#4669AD
Tritanopia (blue-blind)
#AB416B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a727b0;
/* rgb */ color: rgb(167, 39, 176);
/* oklch */ color: oklch(53.3% 0.220 325.1);
Tailwind
colors: {
  custom: {
    50: '#c571c8',
    500: '#a727b0',
    950: '#000000',
  },
}
SCSS
$custom: #a727b0;
$custom-light: #c571c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a727b0",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 296.058,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53311,
    "c": 0.21966,
    "h": 325.1
  },
  "luminance": 0.12801
}

Semantic roles & 50–950 ramp

primary
#A727B0
secondary
#72C76C
accent
#E7414C
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A727B0

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

Preview Lab → · Contrast checker → · Palette generator →

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