#A8399E#A8399E

#A8399E is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.0% C 0.186 H 331.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A8399E
RGBrgb(168, 57, 158)
HSLhsl(305, 49%, 44%)
HSVhsv(305, 66%, 66%)
CMYKcmyk(0%, 66.1%, 6%, 34.1%)
CIE-LABlab(43.83, 57.18, -32.18)
CIE-LCHlch(43.83, 65.62, 330.63°)
OKLaboklab(54% 0.1634 -0.0883)
OKLCHoklch(54% 0.186 331.6)
XYZxyz(23.7831, 13.7215, 33.7370)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8399E #39A843
analogous
#7B39A8 #A8399E #A83967
triadic
#A8399E #9EA839 #399EA8
tetradic
#A8399E #A87B39 #39A843 #3967A8
square
#A8399E #A87B39 #39A843 #3967A8
split-complementary
#A8399E #67A839 #39A87B
monochromatic
#4D1A48 #7A2973 #A8399E #C658BC #D686CF

Accessibility & contrast

On white

5.61
#A8399E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A8399E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8399E
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8399E#FFFFFF#000000##FFFFFF
##A8399E1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335EA1
Deuteranopia (green-blind)
#5A6D9B
Tritanopia (blue-blind)
#AF4466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a8399e;
/* rgb */ color: rgb(168, 57, 158);
/* oklch */ color: oklch(54.0% 0.186 331.6);
Tailwind
colors: {
  custom: {
    50: '#c578bb',
    500: '#a8399e',
    950: '#000000',
  },
}
SCSS
$custom: #a8399e;
$custom-light: #c578bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a8399e",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 305.405,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54003,
    "c": 0.18575,
    "h": 331.6
  },
  "luminance": 0.1372
}

Semantic roles & 50–950 ramp

primary
#A8399E
secondary
#7DC083
accent
#D95B4F
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A8399E

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

Preview Lab → · Contrast checker → · Palette generator →

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