#A038D4#A038D4

#A038D4 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.230 H 311.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A038D4
RGBrgb(160, 56, 212)
HSLhsl(280, 64%, 53%)
HSVhsv(280, 74%, 83%)
CMYKcmyk(24.5%, 73.6%, 0%, 16.9%)
CIE-LABlab(45.71, 65.87, -60.89)
CIE-LCHlch(45.71, 89.70, 317.25°)
OKLaboklab(56.14% 0.1529 -0.1723)
OKLCHoklch(56.14% 0.23 311.6)
XYZxyz(27.7928, 15.0561, 63.7166)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A038D4 #6CD438
analogous
#5238D4 #A038D4 #D438BA
triadic
#A038D4 #D4A038 #38D4A0
tetradic
#A038D4 #D45238 #6CD438 #38BAD4
square
#A038D4 #D45238 #6CD438 #38BAD4
split-complementary
#A038D4 #BAD438 #38D452
monochromatic
#581A78 #7E25AA #A038D4 #B86ADF #D09DEA

Accessibility & contrast

On white

5.24
#A038D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#A038D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A038D4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A038D4#FFFFFF#000000##FFFFFF
##A038D41.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#1E6ED1
Tritanopia (blue-blind)
#995C84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a038d4;
/* rgb */ color: rgb(160, 56, 212);
/* oklch */ color: oklch(56.1% 0.230 311.6);
Tailwind
colors: {
  custom: {
    50: '#c179e2',
    500: '#a038d4',
    950: '#000000',
  },
}
SCSS
$custom: #a038d4;
$custom-light: #c179e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a038d4",
  "rgb": {
    "r": 160,
    "g": 56,
    "b": 212
  },
  "hsl": {
    "h": 280,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56139,
    "c": 0.23033,
    "h": 311.6
  },
  "luminance": 0.15055
}

Semantic roles & 50–950 ramp

primary
#A038D4
secondary
#A9D692
accent
#E74078
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #A038D4

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

Preview Lab → · Contrast checker → · Palette generator →

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