#A23995#A23995

#A23995 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.7% C 0.175 H 333.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A23995
RGBrgb(162, 57, 149)
HSLhsl(307, 48%, 43%)
HSVhsv(307, 65%, 64%)
CMYKcmyk(0%, 64.8%, 8%, 36.5%)
CIE-LABlab(42.43, 54.16, -29.04)
CIE-LCHlch(42.43, 61.45, 331.80°)
OKLaboklab(52.65% 0.1559 -0.0794)
OKLCHoklch(52.65% 0.175 333)
XYZxyz(21.7883, 12.7793, 29.7470)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23995 #39A246
analogous
#7B39A2 #A23995 #A23960
triadic
#A23995 #95A239 #3995A2
tetradic
#A23995 #A27B39 #39A246 #3960A2
square
#A23995 #A27B39 #39A246 #3960A2
split-complementary
#A23995 #60A239 #39A27B
monochromatic
#471942 #75296B #A23995 #C355B6 #D382C9

Accessibility & contrast

On white

5.91
#A23995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A23995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23995
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23995#FFFFFF#000000##FFFFFF
##A239951.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365A98
Deuteranopia (green-blind)
#596A92
Tritanopia (blue-blind)
#A94262
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a23995;
/* rgb */ color: rgb(162, 57, 149);
/* oklch */ color: oklch(52.7% 0.175 333.0);
Tailwind
colors: {
  custom: {
    50: '#c177b4',
    500: '#a23995',
    950: '#000000',
  },
}
SCSS
$custom: #a23995;
$custom-light: #c177b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a23995",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 149
  },
  "hsl": {
    "h": 307.429,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52651,
    "c": 0.175,
    "h": 333
  },
  "luminance": 0.12778
}

Semantic roles & 50–950 ramp

primary
#A23995
secondary
#7ABD82
accent
#D86150
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23995

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

Preview Lab → · Contrast checker → · Palette generator →

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