#A23494#A23494

#A23494 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.1% C 0.181 H 333.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A23494
RGBrgb(162, 52, 148)
HSLhsl(308, 51%, 42%)
HSVhsv(308, 68%, 64%)
CMYKcmyk(0%, 67.9%, 8.6%, 36.5%)
CIE-LABlab(41.65, 56.02, -29.65)
CIE-LCHlch(41.65, 63.38, 332.11°)
OKLaboklab(52.07% 0.1617 -0.0811)
OKLCHoklch(52.07% 0.181 333.4)
XYZxyz(21.4737, 12.2772, 29.2500)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23494 #34A242
analogous
#7934A2 #A23494 #A2345D
triadic
#A23494 #94A234 #3494A2
tetradic
#A23494 #A27934 #34A242 #345DA2
square
#A23494 #A27934 #34A242 #345DA2
split-complementary
#A23494 #5DA234 #34A279
monochromatic
#45163F #74256A #A23494 #C64DB7 #D57CC9

Accessibility & contrast

On white

6.08
#A23494 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A23494 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23494
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23494#FFFFFF#000000##FFFFFF
##A234941.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315897
Deuteranopia (green-blind)
#576891
Tritanopia (blue-blind)
#A93D5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a23494;
/* rgb */ color: rgb(162, 52, 148);
/* oklch */ color: oklch(52.1% 0.181 333.4);
Tailwind
colors: {
  custom: {
    50: '#c175b4',
    500: '#a23494',
    950: '#000000',
  },
}
SCSS
$custom: #a23494;
$custom-light: #c175b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a23494",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 148
  },
  "hsl": {
    "h": 307.636,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52072,
    "c": 0.18095,
    "h": 333.4
  },
  "luminance": 0.12275
}

Semantic roles & 50–950 ramp

primary
#A23494
secondary
#74BE7E
accent
#DB5F4D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23494

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

Preview Lab → · Contrast checker → · Palette generator →

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