#A23496#A23496

#A23496 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.182 H 332.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A23496
RGBrgb(162, 52, 150)
HSLhsl(307, 51%, 42%)
HSVhsv(307, 68%, 64%)
CMYKcmyk(0%, 67.9%, 7.4%, 36.5%)
CIE-LABlab(41.75, 56.34, -30.70)
CIE-LCHlch(41.75, 64.16, 331.42°)
OKLaboklab(52.18% 0.1619 -0.0842)
OKLCHoklch(52.18% 0.182 332.5)
XYZxyz(21.6334, 12.3411, 30.0909)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23496 #34A240
analogous
#7734A2 #A23496 #A2345F
triadic
#A23496 #96A234 #3496A2
tetradic
#A23496 #A27734 #34A240 #345FA2
square
#A23496 #A27734 #34A240 #345FA2
split-complementary
#A23496 #5FA234 #34A277
monochromatic
#451640 #74256B #A23496 #C64DB9 #D57CCB

Accessibility & contrast

On white

6.06
#A23496 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A23496 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23496
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23496#FFFFFF#000000##FFFFFF
##A234961.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5899
Deuteranopia (green-blind)
#566893
Tritanopia (blue-blind)
#A93E60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a23496;
/* rgb */ color: rgb(162, 52, 150);
/* oklch */ color: oklch(52.2% 0.182 332.5);
Tailwind
colors: {
  custom: {
    50: '#c175b5',
    500: '#a23496',
    950: '#000000',
  },
}
SCSS
$custom: #a23496;
$custom-light: #c175b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a23496",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 306.545,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52177,
    "c": 0.18249,
    "h": 332.5
  },
  "luminance": 0.12339
}

Semantic roles & 50–950 ramp

primary
#A23496
secondary
#74BE7C
accent
#DB5C4D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23496

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

Preview Lab → · Contrast checker → · Palette generator →

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