#A128D4#A128D4

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

Color values

HEX#A128D4
RGBrgb(161, 40, 212)
HSLhsl(282, 68%, 49%)
HSVhsv(282, 81%, 83%)
CMYKcmyk(24.1%, 81.1%, 0%, 16.9%)
CIE-LABlab(44.02, 71.36, -63.63)
CIE-LCHlch(44.02, 95.61, 318.28°)
OKLaboklab(54.98% 0.167 -0.1802)
OKLCHoklch(54.98% 0.246 312.8)
XYZxyz(27.3382, 13.8490, 63.5076)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A128D4 #5BD428
analogous
#4B28D4 #A128D4 #D428B1
triadic
#A128D4 #D4A128 #28D4A1
tetradic
#A128D4 #D44B28 #5BD428 #28B1D4
square
#A128D4 #D44B28 #5BD428 #28B1D4
split-complementary
#A128D4 #B1D428 #28D44B
monochromatic
#53156D #7A1EA1 #A128D4 #B859E0 #CE8DE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A128D4#FFFFFF#000000##FFFFFF
##A128D41.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)
#0062D8
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#9B5480
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a128d4;
/* rgb */ color: rgb(161, 40, 212);
/* oklch */ color: oklch(55.0% 0.246 312.8);
Tailwind
colors: {
  custom: {
    50: '#c272e2',
    500: '#a128d4',
    950: '#000000',
  },
}
SCSS
$custom: #a128d4;
$custom-light: #c272e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a128d4",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 212
  },
  "hsl": {
    "h": 282.209,
    "s": 68.254,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54977,
    "c": 0.2457,
    "h": 312.8
  },
  "luminance": 0.13848
}

Semantic roles & 50–950 ramp

primary
#A128D4
secondary
#9CD484
accent
#EB3D70
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130915
muted
#827B84

Preview Lab

Preview with #A128D4

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

Preview Lab → · Contrast checker → · Palette generator →

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