#A232C5#A232C5

#A232C5 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.224 H 316.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#A232C5
RGBrgb(162, 50, 197)
HSLhsl(286, 60%, 48%)
HSVhsv(286, 75%, 77%)
CMYKcmyk(17.8%, 74.6%, 0%, 22.7%)
CIE-LABlab(44.23, 65.47, -54.61)
CIE-LCHlch(44.23, 85.25, 320.17°)
OKLaboklab(54.83% 0.1629 -0.1537)
OKLCHoklch(54.83% 0.224 316.7)
XYZxyz(26.1174, 13.9949, 54.1380)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A232C5 #55C532
analogous
#5832C5 #A232C5 #C5329E
triadic
#A232C5 #C5A232 #32C5A2
tetradic
#A232C5 #C55832 #55C532 #329EC5
square
#A232C5 #C55832 #55C532 #329EC5
split-complementary
#A232C5 #9EC532 #32C558
monochromatic
#521963 #7A2694 #A232C5 #BA5ED6 #CF8FE3

Accessibility & contrast

On white

5.53
#A232C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#A232C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A232C5
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A232C5#FFFFFF#000000##FFFFFF
##A232C51.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#336CC2
Tritanopia (blue-blind)
#A0527A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a232c5;
/* rgb */ color: rgb(162, 50, 197);
/* oklch */ color: oklch(54.8% 0.224 316.7);
Tailwind
colors: {
  custom: {
    50: '#c275d7',
    500: '#a232c5',
    950: '#000000',
  },
}
SCSS
$custom: #a232c5;
$custom-light: #c275d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a232c5",
  "rgb": {
    "r": 162,
    "g": 50,
    "b": 197
  },
  "hsl": {
    "h": 285.714,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54826,
    "c": 0.22402,
    "h": 316.7
  },
  "luminance": 0.13994
}

Semantic roles & 50–950 ramp

primary
#A232C5
secondary
#97CD86
accent
#E3456B
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A232C5

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

Preview Lab → · Contrast checker → · Palette generator →

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