#A232A7#A232A7

#A232A7 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.9% C 0.199 H 326.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A232A7
RGBrgb(162, 50, 167)
HSLhsl(297, 54%, 43%)
HSVhsv(297, 70%, 65%)
CMYKcmyk(3%, 70.1%, 0%, 34.5%)
CIE-LABlab(42.39, 59.97, -39.89)
CIE-LCHlch(42.39, 72.02, 326.37°)
OKLaboklab(52.93% 0.1649 -0.1107)
OKLCHoklch(52.93% 0.199 326.1)
XYZxyz(23.0155, 12.7541, 37.8013)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A232A7 #37A732
analogous
#6832A7 #A232A7 #A73271
triadic
#A232A7 #A7A232 #32A7A2
tetradic
#A232A7 #A76832 #37A732 #3271A7
square
#A232A7 #A76832 #37A732 #3271A7
split-complementary
#A232A7 #71A732 #32A768
monochromatic
#471649 #742478 #A232A7 #C44DCA #D47CD8

Accessibility & contrast

On white

5.91
#A232A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A232A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A232A7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A232A7#FFFFFF#000000##FFFFFF
##A232A71.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195BAA
Deuteranopia (green-blind)
#4C69A4
Tritanopia (blue-blind)
#A64469
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a232a7;
/* rgb */ color: rgb(162, 50, 167);
/* oklch */ color: oklch(52.9% 0.199 326.1);
Tailwind
colors: {
  custom: {
    50: '#c174c1',
    500: '#a232a7',
    950: '#000000',
  },
}
SCSS
$custom: #a232a7;
$custom-light: #c174c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a232a7",
  "rgb": {
    "r": 162,
    "g": 50,
    "b": 167
  },
  "hsl": {
    "h": 297.436,
    "s": 53.917,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5293,
    "c": 0.19861,
    "h": 326.1
  },
  "luminance": 0.12753
}

Semantic roles & 50–950 ramp

primary
#A232A7
secondary
#78C074
accent
#DD4B51
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A232A7

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

Preview Lab → · Contrast checker → · Palette generator →

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