#A232B5#A232B5

#A232B5 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.210 H 321.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A232B5
RGBrgb(162, 50, 181)
HSLhsl(291, 57%, 45%)
HSVhsv(291, 72%, 71%)
CMYKcmyk(10.5%, 72.4%, 0%, 29%)
CIE-LABlab(43.21, 62.47, -46.87)
CIE-LCHlch(43.21, 78.10, 323.12°)
OKLaboklab(53.78% 0.1644 -0.1311)
OKLCHoklch(53.78% 0.21 321.4)
XYZxyz(24.3805, 13.3001, 44.9901)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A232B5 #45B532
analogous
#6132B5 #A232B5 #B53286
triadic
#A232B5 #B5A232 #32B5A2
tetradic
#A232B5 #B56132 #45B532 #3286B5
square
#A232B5 #B56132 #45B532 #3286B5
split-complementary
#A232B5 #86B532 #32B561
monochromatic
#4C1855 #772585 #A232B5 #BE54D0 #D084DD

Accessibility & contrast

On white

5.74
#A232B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A232B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A232B5
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A232B5#FFFFFF#000000##FFFFFF
##A232B51.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#426AB2
Tritanopia (blue-blind)
#A34B71
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a232b5;
/* rgb */ color: rgb(162, 50, 181);
/* oklch */ color: oklch(53.8% 0.210 321.4);
Tailwind
colors: {
  custom: {
    50: '#c175cc',
    500: '#a232b5',
    950: '#000000',
  },
}
SCSS
$custom: #a232b5;
$custom-light: #c175cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a232b5",
  "rgb": {
    "r": 162,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 291.298,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53782,
    "c": 0.2103,
    "h": 321.4
  },
  "luminance": 0.13299
}

Semantic roles & 50–950 ramp

primary
#A232B5
secondary
#87C77C
accent
#E0485E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A232B5

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

Preview Lab → · Contrast checker → · Palette generator →

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