#A23191#A23191

#A23191 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.6% C 0.182 H 334.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A23191
RGBrgb(162, 49, 145)
HSLhsl(309, 54%, 41%)
HSVhsv(309, 70%, 64%)
CMYKcmyk(0%, 69.8%, 10.5%, 36.5%)
CIE-LABlab(41.10, 56.70, -28.70)
CIE-LCHlch(41.10, 63.55, 333.15°)
OKLaboklab(51.62% 0.1648 -0.0784)
OKLCHoklch(51.62% 0.183 334.6)
XYZxyz(21.1096, 11.9241, 27.9724)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23191 #31A242
analogous
#7B31A2 #A23191 #A23158
triadic
#A23191 #91A231 #3191A2
tetradic
#A23191 #A27B31 #31A242 #3158A2
square
#A23191 #A27B31 #31A242 #3158A2
split-complementary
#A23191 #58A231 #31A27B
monochromatic
#44153D #732367 #A23191 #C848B5 #D677C8

Accessibility & contrast

On white

6.20
#A23191 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A23191 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23191
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23191#FFFFFF#000000##FFFFFF
##A231911.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305694
Deuteranopia (green-blind)
#57678E
Tritanopia (blue-blind)
#AA3A5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a23191;
/* rgb */ color: rgb(162, 49, 145);
/* oklch */ color: oklch(51.6% 0.182 334.6);
Tailwind
colors: {
  custom: {
    50: '#c173b1',
    500: '#a23191',
    950: '#000000',
  },
}
SCSS
$custom: #a23191;
$custom-light: #c173b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23191",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 309.027,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5162,
    "c": 0.1825,
    "h": 334.6
  },
  "luminance": 0.11922
}

Semantic roles & 50–950 ramp

primary
#A23191
secondary
#71BE7C
accent
#DD614B
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130911
muted
#827B80

Preview Lab

Preview with #A23191

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

Preview Lab → · Contrast checker → · Palette generator →

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