#A232A8#A232A8

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

Color values

HEX#A232A8
RGBrgb(162, 50, 168)
HSLhsl(297, 54%, 43%)
HSVhsv(297, 70%, 66%)
CMYKcmyk(3.6%, 70.2%, 0%, 34.1%)
CIE-LABlab(42.45, 60.14, -40.40)
CIE-LCHlch(42.45, 72.45, 326.11°)
OKLaboklab(52.99% 0.1649 -0.1122)
OKLCHoklch(52.99% 0.199 325.8)
XYZxyz(23.1083, 12.7912, 38.2900)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A232A8 #38A832
analogous
#6732A8 #A232A8 #A83273
triadic
#A232A8 #A8A232 #32A8A2
tetradic
#A232A8 #A86732 #38A832 #3273A8
square
#A232A8 #A86732 #38A832 #3273A8
split-complementary
#A232A8 #73A832 #32A867
monochromatic
#47164A #752479 #A232A8 #C44DCA #D37CD8

Accessibility & contrast

On white

5.90
#A232A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A232A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A232A8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A232A8#FFFFFF#000000##FFFFFF
##A232A81.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175BAB
Deuteranopia (green-blind)
#4B69A5
Tritanopia (blue-blind)
#A6456A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a232a8;
/* rgb */ color: rgb(162, 50, 168);
/* oklch */ color: oklch(53.0% 0.199 325.8);
Tailwind
colors: {
  custom: {
    50: '#c174c2',
    500: '#a232a8',
    950: '#000000',
  },
}
SCSS
$custom: #a232a8;
$custom-light: #c174c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a232a8",
  "rgb": {
    "r": 162,
    "g": 50,
    "b": 168
  },
  "hsl": {
    "h": 296.949,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52989,
    "c": 0.19943,
    "h": 325.8
  },
  "luminance": 0.1279
}

Semantic roles & 50–950 ramp

primary
#A232A8
secondary
#79C175
accent
#DD4A52
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A232A8

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

Preview Lab → · Contrast checker → · Palette generator →

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