#A8339E#A8339E

#A8339E is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.4% C 0.193 H 331.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A8339E
RGBrgb(168, 51, 158)
HSLhsl(305, 53%, 43%)
HSVhsv(305, 70%, 66%)
CMYKcmyk(0%, 69.6%, 6%, 34.1%)
CIE-LABlab(43.01, 59.49, -33.47)
CIE-LCHlch(43.01, 68.26, 330.64°)
OKLaboklab(53.41% 0.1701 -0.092)
OKLCHoklch(53.41% 0.193 331.6)
XYZxyz(23.5038, 13.1629, 33.6439)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8339E #33A83D
analogous
#7733A8 #A8339E #A83363
triadic
#A8339E #9EA833 #339EA8
tetradic
#A8339E #A87733 #33A83D #3363A8
square
#A8339E #A87733 #33A83D #3363A8
split-complementary
#A8339E #63A833 #33A877
monochromatic
#4A1646 #792572 #A8339E #C94FBF #D87ED0

Accessibility & contrast

On white

5.78
#A8339E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A8339E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8339E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8339E#FFFFFF#000000##FFFFFF
##A8339E1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5BA1
Deuteranopia (green-blind)
#576B9B
Tritanopia (blue-blind)
#AF4064
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a8339e;
/* rgb */ color: rgb(168, 51, 158);
/* oklch */ color: oklch(53.4% 0.193 331.6);
Tailwind
colors: {
  custom: {
    50: '#c575bb',
    500: '#a8339e',
    950: '#000000',
  },
}
SCSS
$custom: #a8339e;
$custom-light: #c575bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a8339e",
  "rgb": {
    "r": 168,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 305.128,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53407,
    "c": 0.19338,
    "h": 331.6
  },
  "luminance": 0.13161
}

Semantic roles & 50–950 ramp

primary
#A8339E
secondary
#76C17D
accent
#DD574B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A8339E

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

Preview Lab → · Contrast checker → · Palette generator →

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