#A728D1#A728D1

#A728D1 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.6% C 0.245 H 315.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A728D1
RGBrgb(167, 40, 209)
HSLhsl(285, 68%, 49%)
HSVhsv(285, 81%, 82%)
CMYKcmyk(20.1%, 80.9%, 0%, 18%)
CIE-LABlab(44.71, 71.80, -60.73)
CIE-LCHlch(44.71, 94.03, 319.77°)
OKLaboklab(55.58% 0.1751 -0.1715)
OKLCHoklch(55.58% 0.245 315.6)
XYZxyz(28.2019, 14.3376, 61.5911)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A728D1 #52D128
analogous
#5328D1 #A728D1 #D128A7
triadic
#A728D1 #D1A728 #28D1A7
tetradic
#A728D1 #D15328 #52D128 #28A7D1
square
#A728D1 #D15328 #52D128 #28A7D1
split-complementary
#A728D1 #A7D128 #28D153
monochromatic
#55146A #7E1E9E #A728D1 #BD57DF #D18BE9

Accessibility & contrast

On white

5.43
#A728D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#A728D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A728D1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A728D1#FFFFFF#000000##FFFFFF
##A728D11.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#216DCE
Tritanopia (blue-blind)
#A4527E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a728d1;
/* rgb */ color: rgb(167, 40, 209);
/* oklch */ color: oklch(55.6% 0.245 315.6);
Tailwind
colors: {
  custom: {
    50: '#c673e0',
    500: '#a728d1',
    950: '#000000',
  },
}
SCSS
$custom: #a728d1;
$custom-light: #c673e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a728d1",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 209
  },
  "hsl": {
    "h": 285.089,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5558,
    "c": 0.24507,
    "h": 315.6
  },
  "luminance": 0.14337
}

Semantic roles & 50–950 ramp

primary
#A728D1
secondary
#96D382
accent
#EB3D68
background
#FCF7FD
surface
#F9EDFB
border
#D2C8D4
text
#140915
muted
#827B83

Preview Lab

Preview with #A728D1

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

Preview Lab → · Contrast checker → · Palette generator →

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