#A7399D#A7399D

#A7399D is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.8% C 0.184 H 331.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A7399D
RGBrgb(167, 57, 157)
HSLhsl(305, 49%, 44%)
HSVhsv(305, 66%, 65%)
CMYKcmyk(0%, 65.9%, 6%, 34.5%)
CIE-LABlab(43.62, 56.77, -31.92)
CIE-LCHlch(43.62, 65.13, 330.65°)
OKLaboklab(53.8% 0.1622 -0.0876)
OKLCHoklch(53.8% 0.184 331.6)
XYZxyz(23.4853, 13.5778, 33.2756)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7399D #39A743
analogous
#7A39A7 #A7399D #A73966
triadic
#A7399D #9DA739 #399DA7
tetradic
#A7399D #A77A39 #39A743 #3966A7
square
#A7399D #A77A39 #39A743 #3966A7
split-complementary
#A7399D #66A739 #39A77A
monochromatic
#4C1A47 #792972 #A7399D #C657BC #D585CE

Accessibility & contrast

On white

5.65
#A7399D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A7399D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7399D
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7399D#FFFFFF#000000##FFFFFF
##A7399D1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335DA0
Deuteranopia (green-blind)
#596D9A
Tritanopia (blue-blind)
#AE4466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a7399d;
/* rgb */ color: rgb(167, 57, 157);
/* oklch */ color: oklch(53.8% 0.184 331.6);
Tailwind
colors: {
  custom: {
    50: '#c478ba',
    500: '#a7399d',
    950: '#000000',
  },
}
SCSS
$custom: #a7399d;
$custom-light: #c478ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a7399d",
  "rgb": {
    "r": 167,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 305.455,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.18437,
    "h": 331.6
  },
  "luminance": 0.13576
}

Semantic roles & 50–950 ramp

primary
#A7399D
secondary
#7DBF83
accent
#D95C4F
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A7399D

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

Preview Lab → · Contrast checker → · Palette generator →

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