#A231A3#A231A3

#A231A3 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.6% C 0.197 H 327.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A231A3
RGBrgb(162, 49, 163)
HSLhsl(299, 54%, 42%)
HSVhsv(299, 70%, 64%)
CMYKcmyk(0.6%, 69.9%, 0%, 36.1%)
CIE-LABlab(42.04, 59.64, -38.07)
CIE-LCHlch(42.04, 70.76, 327.45°)
OKLaboklab(52.6% 0.1659 -0.1054)
OKLCHoklch(52.6% 0.197 327.6)
XYZxyz(22.6091, 12.5239, 35.8698)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231A3 #32A331
analogous
#6931A3 #A231A3 #A3316B
triadic
#A231A3 #A3A231 #31A3A2
tetradic
#A231A3 #A36931 #32A331 #316BA3
square
#A231A3 #A36931 #32A331 #316BA3
split-complementary
#A231A3 #6BA331 #31A369
monochromatic
#441545 #732374 #A231A3 #C749C8 #D678D6

Accessibility & contrast

On white

5.99
#A231A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A231A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231A3
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231A3#FFFFFF#000000##FFFFFF
##A231A31.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5AA6
Deuteranopia (green-blind)
#4E68A0
Tritanopia (blue-blind)
#A74267
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a231a3;
/* rgb */ color: rgb(162, 49, 163);
/* oklch */ color: oklch(52.6% 0.197 327.6);
Tailwind
colors: {
  custom: {
    50: '#c174bf',
    500: '#a231a3',
    950: '#000000',
  },
}
SCSS
$custom: #a231a3;
$custom-light: #c174bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a231a3",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 299.474,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52604,
    "c": 0.19654,
    "h": 327.6
  },
  "luminance": 0.12522
}

Semantic roles & 50–950 ramp

primary
#A231A3
secondary
#72BF71
accent
#DD4B4C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A231A3

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

Preview Lab → · Contrast checker → · Palette generator →

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