#A8319E#A8319E

#A8319E is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.2% C 0.196 H 331.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A8319E
RGBrgb(168, 49, 158)
HSLhsl(305, 55%, 43%)
HSVhsv(305, 71%, 66%)
CMYKcmyk(0%, 70.8%, 6%, 34.1%)
CIE-LABlab(42.75, 60.22, -33.88)
CIE-LCHlch(42.75, 69.09, 330.64°)
OKLaboklab(53.22% 0.1722 -0.0932)
OKLCHoklch(53.22% 0.196 331.6)
XYZxyz(23.4183, 12.9919, 33.6154)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8319E #31A83B
analogous
#7631A8 #A8319E #A83162
triadic
#A8319E #9EA831 #319EA8
tetradic
#A8319E #A87631 #31A83B #3162A8
square
#A8319E #A87631 #31A83B #3162A8
split-complementary
#A8319E #62A831 #31A876
monochromatic
#491545 #792371 #A8319E #CB4CC0 #D87BD1

Accessibility & contrast

On white

5.84
#A8319E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A8319E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8319E
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8319E#FFFFFF#000000##FFFFFF
##A8319E1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA1
Deuteranopia (green-blind)
#566B9B
Tritanopia (blue-blind)
#AF3E64
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a8319e;
/* rgb */ color: rgb(168, 49, 158);
/* oklch */ color: oklch(53.2% 0.196 331.6);
Tailwind
colors: {
  custom: {
    50: '#c574bb',
    500: '#a8319e',
    950: '#000000',
  },
}
SCSS
$custom: #a8319e;
$custom-light: #c574bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a8319e",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 305.042,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53222,
    "c": 0.19578,
    "h": 331.6
  },
  "luminance": 0.1299
}

Semantic roles & 50–950 ramp

primary
#A8319E
secondary
#74C17A
accent
#DE564A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A8319E

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

Preview Lab → · Contrast checker → · Palette generator →

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