#A038BB#A038BB

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

Color values

HEX#A038BB
RGBrgb(160, 56, 187)
HSLhsl(288, 54%, 48%)
HSVhsv(288, 70%, 73%)
CMYKcmyk(14.4%, 70.1%, 0%, 26.7%)
CIE-LABlab(44.08, 60.90, -49.03)
CIE-LCHlch(44.08, 78.18, 321.16°)
OKLaboklab(54.46% 0.1557 -0.1375)
OKLCHoklch(54.46% 0.208 318.5)
XYZxyz(24.8798, 13.8909, 48.3748)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A038BB #53BB38
analogous
#5F38BB #A038BB #BB3894
triadic
#A038BB #BBA038 #38BBA0
tetradic
#A038BB #BB5F38 #53BB38 #3894BB
square
#A038BB #BB5F38 #53BB38 #3894BB
split-complementary
#A038BB #94BB38 #38BB5F
monochromatic
#4F1C5D #782A8C #A038BB #B961D0 #CE90DE

Accessibility & contrast

On white

5.56
#A038BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#A038BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A038BB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A038BB#FFFFFF#000000##FFFFFF
##A038BB1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#3F6CB8
Tritanopia (blue-blind)
#A05176
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a038bb;
/* rgb */ color: rgb(160, 56, 187);
/* oklch */ color: oklch(54.5% 0.208 318.5);
Tailwind
colors: {
  custom: {
    50: '#c078d0',
    500: '#a038bb',
    950: '#000000',
  },
}
SCSS
$custom: #a038bb;
$custom-light: #c078d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a038bb",
  "rgb": {
    "r": 160,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 287.634,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54456,
    "c": 0.2077,
    "h": 318.5
  },
  "luminance": 0.1389
}

Semantic roles & 50–950 ramp

primary
#A038BB
secondary
#94C886
accent
#DD4B69
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A038BB

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

Preview Lab → · Contrast checker → · Palette generator →

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