#A231A9#A231A9

#A231A9 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.201 H 325.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A231A9
RGBrgb(162, 49, 169)
HSLhsl(297, 55%, 43%)
HSVhsv(297, 71%, 66%)
CMYKcmyk(4.1%, 71%, 0%, 33.7%)
CIE-LABlab(42.38, 60.68, -41.11)
CIE-LCHlch(42.38, 73.29, 325.88°)
OKLaboklab(52.96% 0.1659 -0.1143)
OKLCHoklch(52.96% 0.201 325.4)
XYZxyz(23.1595, 12.7441, 38.7684)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231A9 #38A931
analogous
#6631A9 #A231A9 #A93174
triadic
#A231A9 #A9A231 #31A9A2
tetradic
#A231A9 #A96631 #38A931 #3174A9
square
#A231A9 #A96631 #38A931 #3174A9
split-complementary
#A231A9 #74A931 #31A966
monochromatic
#47154A #75237A #A231A9 #C44CCB #D37CD9

Accessibility & contrast

On white

5.92
#A231A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A231A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231A9
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231A9#FFFFFF#000000##FFFFFF
##A231A91.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125BAC
Deuteranopia (green-blind)
#4A69A6
Tritanopia (blue-blind)
#A6456A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a231a9;
/* rgb */ color: rgb(162, 49, 169);
/* oklch */ color: oklch(53.0% 0.201 325.4);
Tailwind
colors: {
  custom: {
    50: '#c174c3',
    500: '#a231a9',
    950: '#000000',
  },
}
SCSS
$custom: #a231a9;
$custom-light: #c174c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a231a9",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 296.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52956,
    "c": 0.20143,
    "h": 325.4
  },
  "luminance": 0.12743
}

Semantic roles & 50–950 ramp

primary
#A231A9
secondary
#79C174
accent
#DE4952
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A231A9

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

Preview Lab → · Contrast checker → · Palette generator →

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