#A038BC#A038BC

#A038BC is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.209 H 318.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A038BC
RGBrgb(160, 56, 188)
HSLhsl(287, 54%, 48%)
HSVhsv(287, 70%, 74%)
CMYKcmyk(14.9%, 70.2%, 0%, 26.3%)
CIE-LABlab(44.14, 61.09, -49.52)
CIE-LCHlch(44.14, 78.64, 320.97°)
OKLaboklab(54.52% 0.1556 -0.1389)
OKLCHoklch(54.52% 0.209 318.2)
XYZxyz(24.9872, 13.9339, 48.9405)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A038BC #54BC38
analogous
#5E38BC #A038BC #BC3896
triadic
#A038BC #BCA038 #38BCA0
tetradic
#A038BC #BC5E38 #54BC38 #3896BC
square
#A038BC #BC5E38 #54BC38 #3896BC
split-complementary
#A038BC #96BC38 #38BC5E
monochromatic
#501C5E #782A8D #A038BC #B861D0 #CE90DE

Accessibility & contrast

On white

5.55
#A038BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A038BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A038BC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A038BC#FFFFFF#000000##FFFFFF
##A038BC1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#3E6CB9
Tritanopia (blue-blind)
#9F5276
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a038bc;
/* rgb */ color: rgb(160, 56, 188);
/* oklch */ color: oklch(54.5% 0.209 318.2);
Tailwind
colors: {
  custom: {
    50: '#c078d1',
    500: '#a038bc',
    950: '#000000',
  },
}
SCSS
$custom: #a038bc;
$custom-light: #c078d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a038bc",
  "rgb": {
    "r": 160,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 287.273,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5452,
    "c": 0.20859,
    "h": 318.2
  },
  "luminance": 0.13933
}

Semantic roles & 50–950 ramp

primary
#A038BC
secondary
#95C987
accent
#DD4A6A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A038BC

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

Preview Lab → · Contrast checker → · Palette generator →

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