#A0399D#A0399D

#A0399D is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.8% C 0.180 H 329.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A0399D
RGBrgb(160, 57, 157)
HSLhsl(302, 47%, 43%)
HSVhsv(302, 64%, 63%)
CMYKcmyk(0%, 64.4%, 1.9%, 37.3%)
CIE-LABlab(42.51, 54.99, -33.74)
CIE-LCHlch(42.51, 64.51, 328.47°)
OKLaboklab(52.78% 0.1545 -0.093)
OKLCHoklch(52.78% 0.18 329)
XYZxyz(22.0459, 12.8357, 33.2081)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0399D #39A03C
analogous
#7039A0 #A0399D #A03969
triadic
#A0399D #9DA039 #399DA0
tetradic
#A0399D #A07039 #39A03C #3969A0
square
#A0399D #A07039 #39A03C #3969A0
split-complementary
#A0399D #69A039 #39A070
monochromatic
#461944 #732971 #A0399D #C254BF #D281D0

Accessibility & contrast

On white

5.89
#A0399D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A0399D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0399D
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0399D#FFFFFF#000000##FFFFFF
##A0399D1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5CA0
Deuteranopia (green-blind)
#53699A
Tritanopia (blue-blind)
#A54566
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a0399d;
/* rgb */ color: rgb(160, 57, 157);
/* oklch */ color: oklch(52.8% 0.180 329.0);
Tailwind
colors: {
  custom: {
    50: '#bf77ba',
    500: '#a0399d',
    950: '#000000',
  },
}
SCSS
$custom: #a0399d;
$custom-light: #bf77ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a0399d",
  "rgb": {
    "r": 160,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 301.748,
    "s": 47.465,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52782,
    "c": 0.18031,
    "h": 329
  },
  "luminance": 0.12834
}

Semantic roles & 50–950 ramp

primary
#A0399D
secondary
#79BC7B
accent
#D75551
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A0399D

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

Preview Lab → · Contrast checker → · Palette generator →

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