#A23291#A23291

#A23291 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.7% C 0.181 H 334.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A23291
RGBrgb(162, 50, 145)
HSLhsl(309, 53%, 42%)
HSVhsv(309, 69%, 64%)
CMYKcmyk(0%, 69.1%, 10.5%, 36.5%)
CIE-LABlab(41.23, 56.32, -28.49)
CIE-LCHlch(41.23, 63.11, 333.17°)
OKLaboklab(51.72% 0.1637 -0.0778)
OKLCHoklch(51.72% 0.181 334.6)
XYZxyz(21.1519, 12.0087, 27.9865)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23291 #32A243
analogous
#7B32A2 #A23291 #A23259
triadic
#A23291 #91A232 #3291A2
tetradic
#A23291 #A27B32 #32A243 #3259A2
square
#A23291 #A27B32 #32A243 #3259A2
split-complementary
#A23291 #59A232 #32A27B
monochromatic
#44153D #732467 #A23291 #C74AB4 #D679C8

Accessibility & contrast

On white

6.17
#A23291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A23291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23291
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23291#FFFFFF#000000##FFFFFF
##A232911.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a23291;
/* rgb */ color: rgb(162, 50, 145);
/* oklch */ color: oklch(51.7% 0.181 334.6);
Tailwind
colors: {
  custom: {
    50: '#c173b1',
    500: '#a23291',
    950: '#000000',
  },
}
SCSS
$custom: #a23291;
$custom-light: #c173b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23291",
  "rgb": {
    "r": 162,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 309.107,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51717,
    "c": 0.18124,
    "h": 334.6
  },
  "luminance": 0.12007
}

Semantic roles & 50–950 ramp

primary
#A23291
secondary
#72BE7D
accent
#DC624C
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130911
muted
#827B80

Preview Lab

Preview with #A23291

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

Preview Lab → · Contrast checker → · Palette generator →

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