#A23394#A23394

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

Color values

HEX#A23394
RGBrgb(162, 51, 148)
HSLhsl(308, 52%, 42%)
HSVhsv(308, 69%, 64%)
CMYKcmyk(0%, 68.5%, 8.6%, 36.5%)
CIE-LABlab(41.51, 56.41, -29.86)
CIE-LCHlch(41.51, 63.83, 332.10°)
OKLaboklab(51.97% 0.1629 -0.0817)
OKLCHoklch(51.97% 0.182 333.3)
XYZxyz(21.4295, 12.1889, 29.2353)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23394 #33A241
analogous
#7933A2 #A23394 #A2335C
triadic
#A23394 #94A233 #3394A2
tetradic
#A23394 #A27933 #33A241 #335CA2
square
#A23394 #A27933 #33A241 #335CA2
split-complementary
#A23394 #5CA233 #33A279
monochromatic
#45163F #732469 #A23394 #C74CB7 #D57ACA

Accessibility & contrast

On white

6.11
#A23394 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A23394 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23394
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23394#FFFFFF#000000##FFFFFF
##A233941.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a23394;
/* rgb */ color: rgb(162, 51, 148);
/* oklch */ color: oklch(52.0% 0.182 333.3);
Tailwind
colors: {
  custom: {
    50: '#c174b4',
    500: '#a23394',
    950: '#000000',
  },
}
SCSS
$custom: #a23394;
$custom-light: #c174b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a23394",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 148
  },
  "hsl": {
    "h": 307.568,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51972,
    "c": 0.18224,
    "h": 333.3
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

primary
#A23394
secondary
#73BE7C
accent
#DC5E4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23394

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

Preview Lab → · Contrast checker → · Palette generator →

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