#A232A6#A232A6

#A232A6 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.9% C 0.198 H 326.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A232A6
RGBrgb(162, 50, 166)
HSLhsl(298, 54%, 42%)
HSVhsv(298, 70%, 65%)
CMYKcmyk(2.4%, 69.9%, 0%, 34.9%)
CIE-LABlab(42.33, 59.79, -39.39)
CIE-LCHlch(42.33, 71.60, 326.63°)
OKLaboklab(52.87% 0.1649 -0.1093)
OKLCHoklch(52.87% 0.198 326.5)
XYZxyz(22.9234, 12.7173, 37.3163)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A232A6 #36A632
analogous
#6832A6 #A232A6 #A63270
triadic
#A232A6 #A6A232 #32A6A2
tetradic
#A232A6 #A66832 #36A632 #3270A6
square
#A232A6 #A66832 #36A632 #3270A6
split-complementary
#A232A6 #70A632 #32A668
monochromatic
#461648 #742477 #A232A6 #C54CC9 #D47BD7

Accessibility & contrast

On white

5.93
#A232A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A232A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A232A6
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A232A6#FFFFFF#000000##FFFFFF
##A232A61.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5BA9
Deuteranopia (green-blind)
#4C69A3
Tritanopia (blue-blind)
#A64468
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a232a6;
/* rgb */ color: rgb(162, 50, 166);
/* oklch */ color: oklch(52.9% 0.198 326.5);
Tailwind
colors: {
  custom: {
    50: '#c174c1',
    500: '#a232a6',
    950: '#000000',
  },
}
SCSS
$custom: #a232a6;
$custom-light: #c174c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a232a6",
  "rgb": {
    "r": 162,
    "g": 50,
    "b": 166
  },
  "hsl": {
    "h": 297.931,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52872,
    "c": 0.19779,
    "h": 326.5
  },
  "luminance": 0.12716
}

Semantic roles & 50–950 ramp

primary
#A232A6
secondary
#77C074
accent
#DD4B50
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A232A6

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

Preview Lab → · Contrast checker → · Palette generator →

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