#A232B2#A232B2

#A232B2 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.208 H 322.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A232B2
RGBrgb(162, 50, 178)
HSLhsl(293, 56%, 45%)
HSVhsv(293, 72%, 70%)
CMYKcmyk(9%, 71.9%, 0%, 30.2%)
CIE-LABlab(43.03, 61.92, -45.40)
CIE-LCHlch(43.03, 76.78, 323.75°)
OKLaboklab(53.6% 0.1646 -0.1268)
OKLCHoklch(53.6% 0.208 322.4)
XYZxyz(24.0760, 13.1783, 43.3864)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A232B2 #42B232
analogous
#6232B2 #A232B2 #B23282
triadic
#A232B2 #B2A232 #32B2A2
tetradic
#A232B2 #B26232 #42B232 #3282B2
square
#A232B2 #B26232 #42B232 #3282B2
split-complementary
#A232B2 #82B232 #32B262
monochromatic
#4B1752 #772582 #A232B2 #BF53CF #D182DC

Accessibility & contrast

On white

5.78
#A232B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A232B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A232B2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A232B2#FFFFFF#000000##FFFFFF
##A232B21.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#456AAF
Tritanopia (blue-blind)
#A4496F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a232b2;
/* rgb */ color: rgb(162, 50, 178);
/* oklch */ color: oklch(53.6% 0.208 322.4);
Tailwind
colors: {
  custom: {
    50: '#c175ca',
    500: '#a232b2',
    950: '#000000',
  },
}
SCSS
$custom: #a232b2;
$custom-light: #c175ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a232b2",
  "rgb": {
    "r": 162,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 292.5,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53595,
    "c": 0.20777,
    "h": 322.4
  },
  "luminance": 0.13177
}

Semantic roles & 50–950 ramp

primary
#A232B2
secondary
#84C57B
accent
#DF485B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A232B2

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

Preview Lab → · Contrast checker → · Palette generator →

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