#A6399D#A6399D

#A6399D is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.7% C 0.184 H 331.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A6399D
RGBrgb(166, 57, 157)
HSLhsl(305, 49%, 44%)
HSVhsv(305, 66%, 65%)
CMYKcmyk(0%, 65.7%, 5.4%, 34.9%)
CIE-LABlab(43.46, 56.51, -32.18)
CIE-LCHlch(43.46, 65.03, 330.34°)
OKLaboklab(53.66% 0.1611 -0.0884)
OKLCHoklch(53.66% 0.184 331.3)
XYZxyz(23.2748, 13.4693, 33.2657)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6399D #39A642
analogous
#7839A6 #A6399D #A63966
triadic
#A6399D #9DA639 #399DA6
tetradic
#A6399D #A67839 #39A642 #3966A6
square
#A6399D #A67839 #39A642 #3966A6
split-complementary
#A6399D #66A639 #39A678
monochromatic
#4B1A47 #782972 #A6399D #C557BC #D584CE

Accessibility & contrast

On white

5.69
#A6399D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A6399D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6399D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6399D#FFFFFF#000000##FFFFFF
##A6399D1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325DA0
Deuteranopia (green-blind)
#586C9A
Tritanopia (blue-blind)
#AD4466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a6399d;
/* rgb */ color: rgb(166, 57, 157);
/* oklch */ color: oklch(53.7% 0.184 331.3);
Tailwind
colors: {
  custom: {
    50: '#c478ba',
    500: '#a6399d',
    950: '#000000',
  },
}
SCSS
$custom: #a6399d;
$custom-light: #c478ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a6399d",
  "rgb": {
    "r": 166,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 304.954,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53656,
    "c": 0.18378,
    "h": 331.3
  },
  "luminance": 0.13468
}

Semantic roles & 50–950 ramp

primary
#A6399D
secondary
#7CBF82
accent
#D85B4F
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A6399D

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

Preview Lab → · Contrast checker → · Palette generator →

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