#A23296#A23296

#A23296 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.0% C 0.185 H 332.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A23296
RGBrgb(162, 50, 150)
HSLhsl(306, 53%, 42%)
HSVhsv(306, 69%, 64%)
CMYKcmyk(0%, 69.1%, 7.4%, 36.5%)
CIE-LABlab(41.48, 57.11, -31.13)
CIE-LCHlch(41.48, 65.05, 331.41°)
OKLaboklab(51.98% 0.1642 -0.0854)
OKLCHoklch(51.98% 0.185 332.5)
XYZxyz(21.5460, 12.1663, 30.0618)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23296 #32A23E
analogous
#7632A2 #A23296 #A2325E
triadic
#A23296 #96A232 #3296A2
tetradic
#A23296 #A27632 #32A23E #325EA2
square
#A23296 #A27632 #32A23E #325EA2
split-complementary
#A23296 #5EA232 #32A276
monochromatic
#44153F #73246B #A23296 #C74ABA #D679CC

Accessibility & contrast

On white

6.12
#A23296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A23296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23296
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23296#FFFFFF#000000##FFFFFF
##A232961.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5899
Deuteranopia (green-blind)
#556893
Tritanopia (blue-blind)
#A93D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a23296;
/* rgb */ color: rgb(162, 50, 150);
/* oklch */ color: oklch(52.0% 0.185 332.5);
Tailwind
colors: {
  custom: {
    50: '#c174b5',
    500: '#a23296',
    950: '#000000',
  },
}
SCSS
$custom: #a23296;
$custom-light: #c174b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a23296",
  "rgb": {
    "r": 162,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 306.429,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51979,
    "c": 0.18504,
    "h": 332.5
  },
  "luminance": 0.12165
}

Semantic roles & 50–950 ramp

primary
#A23296
secondary
#72BE7A
accent
#DC5B4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23296

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

Preview Lab → · Contrast checker → · Palette generator →

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