#A231AC#A231AC

#A231AC is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.1% C 0.204 H 324.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A231AC
RGBrgb(162, 49, 172)
HSLhsl(295, 56%, 43%)
HSVhsv(295, 72%, 67%)
CMYKcmyk(5.8%, 71.5%, 0%, 32.5%)
CIE-LABlab(42.55, 61.21, -42.61)
CIE-LCHlch(42.55, 74.58, 325.15°)
OKLaboklab(53.14% 0.1658 -0.1187)
OKLCHoklch(53.14% 0.204 324.4)
XYZxyz(23.4444, 12.8580, 40.2687)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231AC #3BAC31
analogous
#6431AC #A231AC #AC3178
triadic
#A231AC #ACA231 #31ACA2
tetradic
#A231AC #AC6431 #3BAC31 #3178AC
square
#A231AC #AC6431 #3BAC31 #3178AC
split-complementary
#A231AC #78AC31 #31AC64
monochromatic
#48164D #75237C #A231AC #C24ECC #D37DDA

Accessibility & contrast

On white

5.88
#A231AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A231AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231AC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231AC#FFFFFF#000000##FFFFFF
##A231AC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095CAF
Deuteranopia (green-blind)
#4869A9
Tritanopia (blue-blind)
#A5466B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a231ac;
/* rgb */ color: rgb(162, 49, 172);
/* oklch */ color: oklch(53.1% 0.204 324.4);
Tailwind
colors: {
  custom: {
    50: '#c174c5',
    500: '#a231ac',
    950: '#000000',
  },
}
SCSS
$custom: #a231ac;
$custom-light: #c174c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a231ac",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 295.122,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53136,
    "c": 0.2039,
    "h": 324.4
  },
  "luminance": 0.12857
}

Semantic roles & 50–950 ramp

primary
#A231AC
secondary
#7CC376
accent
#DF4955
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A231AC

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

Preview Lab → · Contrast checker → · Palette generator →

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