#A038BA#A038BA

#A038BA is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.207 H 318.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A038BA
RGBrgb(160, 56, 186)
HSLhsl(288, 54%, 47%)
HSVhsv(288, 70%, 73%)
CMYKcmyk(14%, 69.9%, 0%, 27.1%)
CIE-LABlab(44.01, 60.70, -48.54)
CIE-LCHlch(44.01, 77.73, 321.35°)
OKLaboklab(54.39% 0.1557 -0.1361)
OKLCHoklch(54.39% 0.207 318.8)
XYZxyz(24.7731, 13.8482, 47.8129)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A038BA #52BA38
analogous
#5F38BA #A038BA #BA3893
triadic
#A038BA #BAA038 #38BAA0
tetradic
#A038BA #BA5F38 #52BA38 #3893BA
square
#A038BA #BA5F38 #52BA38 #3893BA
split-complementary
#A038BA #93BA38 #38BA5F
monochromatic
#4F1C5C #782A8B #A038BA #B960CF #CE8FDD

Accessibility & contrast

On white

5.57
#A038BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A038BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A038BA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A038BA#FFFFFF#000000##FFFFFF
##A038BA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#406BB7
Tritanopia (blue-blind)
#A05175
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a038ba;
/* rgb */ color: rgb(160, 56, 186);
/* oklch */ color: oklch(54.4% 0.207 318.8);
Tailwind
colors: {
  custom: {
    50: '#c078cf',
    500: '#a038ba',
    950: '#000000',
  },
}
SCSS
$custom: #a038ba;
$custom-light: #c078cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a038ba",
  "rgb": {
    "r": 160,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 288,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54393,
    "c": 0.20681,
    "h": 318.8
  },
  "luminance": 0.13847
}

Semantic roles & 50–950 ramp

primary
#A038BA
secondary
#93C886
accent
#DD4B68
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A038BA

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

Preview Lab → · Contrast checker → · Palette generator →

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