#A8319D#A8319D

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

Color values

HEX#A8319D
RGBrgb(168, 49, 157)
HSLhsl(306, 55%, 43%)
HSVhsv(306, 71%, 66%)
CMYKcmyk(0%, 70.8%, 6.5%, 34.1%)
CIE-LABlab(42.70, 60.06, -33.36)
CIE-LCHlch(42.70, 68.70, 330.95°)
OKLaboklab(53.17% 0.1721 -0.0917)
OKLCHoklch(53.17% 0.195 332)
XYZxyz(23.3326, 12.9576, 33.1639)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8319D #31A83C
analogous
#7731A8 #A8319D #A83162
triadic
#A8319D #9DA831 #319DA8
tetradic
#A8319D #A87731 #31A83C #3162A8
square
#A8319D #A87731 #31A83C #3162A8
split-complementary
#A8319D #62A831 #31A877
monochromatic
#491544 #792371 #A8319D #CB4CBF #D87BD0

Accessibility & contrast

On white

5.85
#A8319D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A8319D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8319D
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8319D#FFFFFF#000000##FFFFFF
##A8319D1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5AA0
Deuteranopia (green-blind)
#566B9A
Tritanopia (blue-blind)
#AF3E63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a8319d;
/* rgb */ color: rgb(168, 49, 157);
/* oklch */ color: oklch(53.2% 0.195 332.0);
Tailwind
colors: {
  custom: {
    50: '#c574ba',
    500: '#a8319d',
    950: '#000000',
  },
}
SCSS
$custom: #a8319d;
$custom-light: #c574ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a8319d",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 305.546,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53168,
    "c": 0.19501,
    "h": 332
  },
  "luminance": 0.12956
}

Semantic roles & 50–950 ramp

primary
#A8319D
secondary
#74C17B
accent
#DE574A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A8319D

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

Preview Lab → · Contrast checker → · Palette generator →

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