#A23196#A23196

#A23196 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.186 H 332.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A23196
RGBrgb(162, 49, 150)
HSLhsl(306, 54%, 41%)
HSVhsv(306, 70%, 64%)
CMYKcmyk(0%, 69.8%, 7.4%, 36.5%)
CIE-LABlab(41.35, 57.49, -31.34)
CIE-LCHlch(41.35, 65.48, 331.40°)
OKLaboklab(51.88% 0.1653 -0.086)
OKLCHoklch(51.88% 0.186 332.5)
XYZxyz(21.5037, 12.0817, 30.0477)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23196 #31A23D
analogous
#7631A2 #A23196 #A2315E
triadic
#A23196 #96A231 #3196A2
tetradic
#A23196 #A27631 #31A23D #315EA2
square
#A23196 #A27631 #31A23D #315EA2
split-complementary
#A23196 #5EA231 #31A276
monochromatic
#44153F #73236A #A23196 #C848BA #D677CC

Accessibility & contrast

On white

6.15
#A23196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A23196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23196
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23196#FFFFFF#000000##FFFFFF
##A231961.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5799
Deuteranopia (green-blind)
#546793
Tritanopia (blue-blind)
#A93C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a23196;
/* rgb */ color: rgb(162, 49, 150);
/* oklch */ color: oklch(51.9% 0.186 332.5);
Tailwind
colors: {
  custom: {
    50: '#c173b5',
    500: '#a23196',
    950: '#000000',
  },
}
SCSS
$custom: #a23196;
$custom-light: #c173b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a23196",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 306.372,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51883,
    "c": 0.18629,
    "h": 332.5
  },
  "luminance": 0.1208
}

Semantic roles & 50–950 ramp

primary
#A23196
secondary
#71BE79
accent
#DD5A4B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23196

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

Preview Lab → · Contrast checker → · Palette generator →

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