#A038B2#A038B2

#A038B2 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.9% C 0.200 H 321.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A038B2
RGBrgb(160, 56, 178)
HSLhsl(291, 52%, 46%)
HSVhsv(291, 69%, 70%)
CMYKcmyk(10.1%, 68.5%, 0%, 30.2%)
CIE-LABlab(43.53, 59.19, -44.61)
CIE-LCHlch(43.53, 74.12, 322.99°)
OKLaboklab(53.89% 0.1561 -0.1246)
OKLCHoklch(53.89% 0.2 321.4)
XYZxyz(23.9464, 13.5175, 43.4587)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A038B2 #4AB238
analogous
#6338B2 #A038B2 #B23887
triadic
#A038B2 #B2A038 #38B2A0
tetradic
#A038B2 #B26338 #4AB238 #3887B2
square
#A038B2 #B26338 #4AB238 #3887B2
split-complementary
#A038B2 #87B238 #38B263
monochromatic
#4C1B55 #762983 #A038B2 #BB5CCC #CE8ADA

Accessibility & contrast

On white

5.67
#A038B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A038B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A038B2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A038B2#FFFFFF#000000##FFFFFF
##A038B21.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5FB6
Deuteranopia (green-blind)
#466BAF
Tritanopia (blue-blind)
#A14D71
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a038b2;
/* rgb */ color: rgb(160, 56, 178);
/* oklch */ color: oklch(53.9% 0.200 321.4);
Tailwind
colors: {
  custom: {
    50: '#c077c9',
    500: '#a038b2',
    950: '#000000',
  },
}
SCSS
$custom: #a038b2;
$custom-light: #c077c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a038b2",
  "rgb": {
    "r": 160,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 291.148,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53893,
    "c": 0.19971,
    "h": 321.4
  },
  "luminance": 0.13516
}

Semantic roles & 50–950 ramp

primary
#A038B2
secondary
#8BC581
accent
#DC4C61
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A038B2

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

Preview Lab → · Contrast checker → · Palette generator →

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