#A232A1#A232A1

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

Color values

HEX#A232A1
RGBrgb(162, 50, 161)
HSLhsl(301, 53%, 42%)
HSVhsv(301, 69%, 64%)
CMYKcmyk(0%, 69.1%, 0.6%, 36.5%)
CIE-LABlab(42.06, 58.93, -36.84)
CIE-LCHlch(42.06, 69.50, 327.99°)
OKLaboklab(52.58% 0.1648 -0.1019)
OKLCHoklch(52.58% 0.194 328.3)
XYZxyz(22.4737, 12.5374, 34.9476)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A232A1 #32A233
analogous
#6B32A2 #A232A1 #A23269
triadic
#A232A1 #A1A232 #32A1A2
tetradic
#A232A1 #A26B32 #32A233 #3269A2
square
#A232A1 #A26B32 #32A233 #3269A2
split-complementary
#A232A1 #69A232 #32A26B
monochromatic
#441544 #732473 #A232A1 #C74AC6 #D679D5

Accessibility & contrast

On white

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

On black

3.51
#A232A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A232A1#FFFFFF#000000##FFFFFF
##A232A11.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA4
Deuteranopia (green-blind)
#4F689E
Tritanopia (blue-blind)
#A74266
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a232a1;
/* rgb */ color: rgb(162, 50, 161);
/* oklch */ color: oklch(52.6% 0.194 328.3);
Tailwind
colors: {
  custom: {
    50: '#c174bd',
    500: '#a232a1',
    950: '#000000',
  },
}
SCSS
$custom: #a232a1;
$custom-light: #c174bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a232a1",
  "rgb": {
    "r": 162,
    "g": 50,
    "b": 161
  },
  "hsl": {
    "h": 300.536,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52584,
    "c": 0.19372,
    "h": 328.3
  },
  "luminance": 0.12536
}

Semantic roles & 50–950 ramp

primary
#A232A1
secondary
#72BE72
accent
#DC4D4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A232A1

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

Preview Lab → · Contrast checker → · Palette generator →

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