#A23295#A23295

#A23295 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.184 H 332.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A23295
RGBrgb(162, 50, 149)
HSLhsl(307, 53%, 42%)
HSVhsv(307, 69%, 64%)
CMYKcmyk(0%, 69.1%, 8%, 36.5%)
CIE-LABlab(41.43, 56.95, -30.60)
CIE-LCHlch(41.43, 64.65, 331.75°)
OKLaboklab(51.93% 0.1641 -0.0839)
OKLCHoklch(51.93% 0.184 332.9)
XYZxyz(21.4658, 12.1342, 29.6395)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23295 #32A23F
analogous
#7732A2 #A23295 #A2325D
triadic
#A23295 #95A232 #3295A2
tetradic
#A23295 #A27732 #32A23F #325DA2
square
#A23295 #A27732 #32A23F #325DA2
split-complementary
#A23295 #5DA232 #32A277
monochromatic
#44153F #73246A #A23295 #C74AB9 #D679CB

Accessibility & contrast

On white

6.13
#A23295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A23295
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23295#FFFFFF#000000##FFFFFF
##A232951.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5798
Deuteranopia (green-blind)
#556792
Tritanopia (blue-blind)
#A93C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a23295;
/* rgb */ color: rgb(162, 50, 149);
/* oklch */ color: oklch(51.9% 0.184 332.9);
Tailwind
colors: {
  custom: {
    50: '#c174b4',
    500: '#a23295',
    950: '#000000',
  },
}
SCSS
$custom: #a23295;
$custom-light: #c174b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a23295",
  "rgb": {
    "r": 162,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 306.964,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51926,
    "c": 0.18427,
    "h": 332.9
  },
  "luminance": 0.12133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A23295

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

Preview Lab → · Contrast checker → · Palette generator →

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