#A8309A#A8309A

#A8309A is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.9% C 0.194 H 333.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A8309A
RGBrgb(168, 48, 154)
HSLhsl(307, 56%, 42%)
HSVhsv(307, 71%, 66%)
CMYKcmyk(0%, 71.4%, 8.3%, 34.1%)
CIE-LABlab(42.42, 59.94, -31.99)
CIE-LCHlch(42.42, 67.94, 331.91°)
OKLaboklab(52.92% 0.173 -0.0877)
OKLCHoklch(52.92% 0.194 333.1)
XYZxyz(23.0383, 12.7737, 31.8178)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8309A #30A83E
analogous
#7A30A8 #A8309A #A8305E
triadic
#A8309A #9AA830 #309AA8
tetradic
#A8309A #A87A30 #30A83E #305EA8
square
#A8309A #A87A30 #30A83E #305EA8
split-complementary
#A8309A #5EA830 #30A87A
monochromatic
#491543 #78226E #A8309A #CB4ABC #D97ACE

Accessibility & contrast

On white

5.91
#A8309A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A8309A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8309A
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8309A#FFFFFF#000000##FFFFFF
##A8309A1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B599D
Deuteranopia (green-blind)
#576A97
Tritanopia (blue-blind)
#B03C61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a8309a;
/* rgb */ color: rgb(168, 48, 154);
/* oklch */ color: oklch(52.9% 0.194 333.1);
Tailwind
colors: {
  custom: {
    50: '#c574b8',
    500: '#a8309a',
    950: '#000000',
  },
}
SCSS
$custom: #a8309a;
$custom-light: #c574b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a8309a",
  "rgb": {
    "r": 168,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 307,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52917,
    "c": 0.19392,
    "h": 333.1
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#A8309A
secondary
#73C17C
accent
#DF5A49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A8309A

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

Preview Lab → · Contrast checker → · Palette generator →

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