#A231AE#A231AE

#A231AE is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.206 H 323.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A231AE
RGBrgb(162, 49, 174)
HSLhsl(294, 56%, 44%)
HSVhsv(294, 72%, 68%)
CMYKcmyk(6.9%, 71.8%, 0%, 31.8%)
CIE-LABlab(42.67, 61.56, -43.61)
CIE-LCHlch(42.67, 75.45, 324.69°)
OKLaboklab(53.26% 0.1658 -0.1216)
OKLCHoklch(53.26% 0.206 323.7)
XYZxyz(23.6379, 12.9354, 41.2879)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231AE #3DAE31
analogous
#6331AE #A231AE #AE317B
triadic
#A231AE #AEA231 #31AEA2
tetradic
#A231AE #AE6331 #3DAE31 #317BAE
square
#A231AE #AE6331 #3DAE31 #317BAE
split-complementary
#A231AE #7BAE31 #31AE63
monochromatic
#49164E #76247E #A231AE #C14FCD #D27FDB

Accessibility & contrast

On white

5.85
#A231AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A231AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231AE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231AE#FFFFFF#000000##FFFFFF
##A231AE1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025CB1
Deuteranopia (green-blind)
#4769AB
Tritanopia (blue-blind)
#A5476D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a231ae;
/* rgb */ color: rgb(162, 49, 174);
/* oklch */ color: oklch(53.3% 0.206 323.7);
Tailwind
colors: {
  custom: {
    50: '#c174c7',
    500: '#a231ae',
    950: '#000000',
  },
}
SCSS
$custom: #a231ae;
$custom-light: #c174c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a231ae",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 294.24,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53258,
    "c": 0.20556,
    "h": 323.7
  },
  "luminance": 0.12934
}

Semantic roles & 50–950 ramp

primary
#A231AE
secondary
#7EC477
accent
#DF4857
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A231AE

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

Preview Lab → · Contrast checker → · Palette generator →

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