#A231AA#A231AA

#A231AA is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.0% C 0.202 H 325.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A231AA
RGBrgb(162, 49, 170)
HSLhsl(296, 55%, 43%)
HSVhsv(296, 71%, 67%)
CMYKcmyk(4.7%, 71.2%, 0%, 33.3%)
CIE-LABlab(42.43, 60.85, -41.61)
CIE-LCHlch(42.43, 73.72, 325.64°)
OKLaboklab(53.02% 0.1659 -0.1157)
OKLCHoklch(53.02% 0.202 325.1)
XYZxyz(23.2538, 12.7818, 39.2647)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231AA #39AA31
analogous
#6531AA #A231AA #AA3175
triadic
#A231AA #AAA231 #31AAA2
tetradic
#A231AA #AA6531 #39AA31 #3175AA
square
#A231AA #AA6531 #39AA31 #3175AA
split-complementary
#A231AA #75AA31 #31AA65
monochromatic
#47164B #75237A #A231AA #C34DCC #D37CD9

Accessibility & contrast

On white

5.91
#A231AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A231AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231AA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231AA#FFFFFF#000000##FFFFFF
##A231AA1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAD
Deuteranopia (green-blind)
#4969A7
Tritanopia (blue-blind)
#A6456A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a231aa;
/* rgb */ color: rgb(162, 49, 170);
/* oklch */ color: oklch(53.0% 0.202 325.1);
Tailwind
colors: {
  custom: {
    50: '#c174c4',
    500: '#a231aa',
    950: '#000000',
  },
}
SCSS
$custom: #a231aa;
$custom-light: #c174c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a231aa",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 296.033,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53016,
    "c": 0.20224,
    "h": 325.1
  },
  "luminance": 0.1278
}

Semantic roles & 50–950 ramp

primary
#A231AA
secondary
#7AC275
accent
#DF4953
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A231AA

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

Preview Lab → · Contrast checker → · Palette generator →

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