#A232A2#A232A2

#A232A2 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.195 H 327.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A232A2
RGBrgb(162, 50, 162)
HSLhsl(300, 53%, 42%)
HSVhsv(300, 69%, 64%)
CMYKcmyk(0%, 69.1%, 0%, 36.5%)
CIE-LABlab(42.11, 59.10, -37.35)
CIE-LCHlch(42.11, 69.92, 327.71°)
OKLaboklab(52.64% 0.1648 -0.1033)
OKLCHoklch(52.64% 0.195 327.9)
XYZxyz(22.5622, 12.5728, 35.4139)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A232A2 #32A232
analogous
#6A32A2 #A232A2 #A2326A
triadic
#A232A2 #A2A232 #32A2A2
tetradic
#A232A2 #A26A32 #32A232 #326AA2
square
#A232A2 #A26A32 #32A232 #326AA2
split-complementary
#A232A2 #6AA232 #32A26A
monochromatic
#441544 #732473 #A232A2 #C74AC7 #D679D6

Accessibility & contrast

On white

5.98
#A232A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A232A2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A232A2#FFFFFF#000000##FFFFFF
##A232A21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#4F689F
Tritanopia (blue-blind)
#A74266
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a232a2;
/* rgb */ color: rgb(162, 50, 162);
/* oklch */ color: oklch(52.6% 0.195 327.9);
Tailwind
colors: {
  custom: {
    50: '#c174be',
    500: '#a232a2',
    950: '#000000',
  },
}
SCSS
$custom: #a232a2;
$custom-light: #c174be;
$custom-dark: #000000;
JSON
{
  "hex": "#a232a2",
  "rgb": {
    "r": 162,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52641,
    "c": 0.19453,
    "h": 327.9
  },
  "luminance": 0.12571
}

Semantic roles & 50–950 ramp

primary
#A232A2
secondary
#72BE72
accent
#DC4C4C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A232A2

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

Preview Lab → · Contrast checker → · Palette generator →

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