#A232A5#A232A5

#A232A5 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.197 H 326.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A232A5
RGBrgb(162, 50, 165)
HSLhsl(298, 53%, 42%)
HSVhsv(298, 70%, 65%)
CMYKcmyk(1.8%, 69.7%, 0%, 35.3%)
CIE-LABlab(42.28, 59.62, -38.88)
CIE-LCHlch(42.28, 71.17, 326.89°)
OKLaboklab(52.81% 0.1649 -0.1078)
OKLCHoklch(52.81% 0.197 326.8)
XYZxyz(22.8320, 12.6807, 36.8351)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A232A5 #35A532
analogous
#6932A5 #A232A5 #A5326E
triadic
#A232A5 #A5A232 #32A5A2
tetradic
#A232A5 #A56932 #35A532 #326EA5
square
#A232A5 #A56932 #35A532 #326EA5
split-complementary
#A232A5 #6EA532 #32A569
monochromatic
#461647 #742476 #A232A5 #C54CC9 #D47BD7

Accessibility & contrast

On white

5.94
#A232A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A232A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A232A5
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A232A5#FFFFFF#000000##FFFFFF
##A232A51.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5BA8
Deuteranopia (green-blind)
#4D69A2
Tritanopia (blue-blind)
#A74368
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a232a5;
/* rgb */ color: rgb(162, 50, 165);
/* oklch */ color: oklch(52.8% 0.197 326.8);
Tailwind
colors: {
  custom: {
    50: '#c174c0',
    500: '#a232a5',
    950: '#000000',
  },
}
SCSS
$custom: #a232a5;
$custom-light: #c174c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a232a5",
  "rgb": {
    "r": 162,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 298.435,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52814,
    "c": 0.19697,
    "h": 326.8
  },
  "luminance": 0.12679
}

Semantic roles & 50–950 ramp

primary
#A232A5
secondary
#75BF73
accent
#DD4B4F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A232A5

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

Preview Lab → · Contrast checker → · Palette generator →

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