#A23396#A23396

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

Color values

HEX#A23396
RGBrgb(162, 51, 150)
HSLhsl(306, 52%, 42%)
HSVhsv(306, 69%, 64%)
CMYKcmyk(0%, 68.5%, 7.4%, 36.5%)
CIE-LABlab(41.62, 56.73, -30.92)
CIE-LCHlch(41.62, 64.61, 331.41°)
OKLaboklab(52.08% 0.1631 -0.0848)
OKLCHoklch(52.08% 0.184 332.5)
XYZxyz(21.5892, 12.2528, 30.0762)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23396 #33A23F
analogous
#7733A2 #A23396 #A2335F
triadic
#A23396 #96A233 #3396A2
tetradic
#A23396 #A27733 #33A23F #335FA2
square
#A23396 #A27733 #33A23F #335FA2
split-complementary
#A23396 #5FA233 #33A277
monochromatic
#451640 #73246B #A23396 #C74CB9 #D57ACB

Accessibility & contrast

On white

6.09
#A23396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A23396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23396
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23396#FFFFFF#000000##FFFFFF
##A233961.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a23396;
/* rgb */ color: rgb(162, 51, 150);
/* oklch */ color: oklch(52.1% 0.184 332.5);
Tailwind
colors: {
  custom: {
    50: '#c174b5',
    500: '#a23396',
    950: '#000000',
  },
}
SCSS
$custom: #a23396;
$custom-light: #c174b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a23396",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 150
  },
  "hsl": {
    "h": 306.486,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52077,
    "c": 0.18378,
    "h": 332.5
  },
  "luminance": 0.12251
}

Semantic roles & 50–950 ramp

primary
#A23396
secondary
#73BE7B
accent
#DC5C4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23396

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

Preview Lab → · Contrast checker → · Palette generator →

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