#A8339F#A8339F

#A8339F is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.5% C 0.194 H 331.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A8339F
RGBrgb(168, 51, 159)
HSLhsl(305, 53%, 43%)
HSVhsv(305, 70%, 66%)
CMYKcmyk(0%, 69.6%, 5.4%, 34.1%)
CIE-LABlab(43.06, 59.65, -33.99)
CIE-LCHlch(43.06, 68.66, 330.33°)
OKLaboklab(53.46% 0.1702 -0.0935)
OKLCHoklch(53.46% 0.194 331.2)
XYZxyz(23.5902, 13.1975, 34.0991)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8339F #33A83C
analogous
#7633A8 #A8339F #A83365
triadic
#A8339F #9FA833 #339FA8
tetradic
#A8339F #A87633 #33A83C #3365A8
square
#A8339F #A87633 #33A83C #3365A8
split-complementary
#A8339F #65A833 #33A876
monochromatic
#4A1646 #792573 #A8339F #C94FC0 #D87ED1

Accessibility & contrast

On white

5.77
#A8339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A8339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8339F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8339F#FFFFFF#000000##FFFFFF
##A8339F1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5BA2
Deuteranopia (green-blind)
#566B9C
Tritanopia (blue-blind)
#AF4065
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a8339f;
/* rgb */ color: rgb(168, 51, 159);
/* oklch */ color: oklch(53.5% 0.194 331.2);
Tailwind
colors: {
  custom: {
    50: '#c575bc',
    500: '#a8339f',
    950: '#000000',
  },
}
SCSS
$custom: #a8339f;
$custom-light: #c575bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a8339f",
  "rgb": {
    "r": 168,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 304.615,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53461,
    "c": 0.19415,
    "h": 331.2
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#A8339F
secondary
#76C17C
accent
#DD564B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A8339F

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

Preview Lab → · Contrast checker → · Palette generator →

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