#A6399A#A6399A

#A6399A is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.5% C 0.181 H 332.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A6399A
RGBrgb(166, 57, 154)
HSLhsl(307, 49%, 44%)
HSVhsv(307, 66%, 65%)
CMYKcmyk(0%, 65.7%, 7.2%, 34.9%)
CIE-LABlab(43.31, 56.02, -30.62)
CIE-LCHlch(43.31, 63.84, 331.34°)
OKLaboklab(53.5% 0.1608 -0.0839)
OKLCHoklch(53.5% 0.181 332.5)
XYZxyz(23.0218, 13.3681, 31.9334)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6399A #39A645
analogous
#7B39A6 #A6399A #A63963
triadic
#A6399A #9AA639 #399AA6
tetradic
#A6399A #A67B39 #39A645 #3963A6
square
#A6399A #A67B39 #39A645 #3963A6
split-complementary
#A6399A #63A639 #39A67B
monochromatic
#4B1A45 #782970 #A6399A #C557B9 #D584CC

Accessibility & contrast

On white

5.72
#A6399A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A6399A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6399A
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6399A#FFFFFF#000000##FFFFFF
##A6399A1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9D
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#AD4364
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a6399a;
/* rgb */ color: rgb(166, 57, 154);
/* oklch */ color: oklch(53.5% 0.181 332.5);
Tailwind
colors: {
  custom: {
    50: '#c378b8',
    500: '#a6399a',
    950: '#000000',
  },
}
SCSS
$custom: #a6399a;
$custom-light: #c378b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a6399a",
  "rgb": {
    "r": 166,
    "g": 57,
    "b": 154
  },
  "hsl": {
    "h": 306.606,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53499,
    "c": 0.1814,
    "h": 332.5
  },
  "luminance": 0.13366
}

Semantic roles & 50–950 ramp

primary
#A6399A
secondary
#7CBF83
accent
#D85E4F
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A6399A

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

Preview Lab → · Contrast checker → · Palette generator →

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