#A23993#A23993

#A23993 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.5% C 0.173 H 333.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A23993
RGBrgb(162, 57, 147)
HSLhsl(309, 48%, 43%)
HSVhsv(309, 65%, 64%)
CMYKcmyk(0%, 64.8%, 9.3%, 36.5%)
CIE-LABlab(42.33, 53.83, -27.98)
CIE-LCHlch(42.33, 60.67, 332.54°)
OKLaboklab(52.55% 0.1557 -0.0764)
OKLCHoklch(52.55% 0.173 333.9)
XYZxyz(21.6300, 12.7159, 28.9133)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23993 #39A248
analogous
#7C39A2 #A23993 #A2395F
triadic
#A23993 #93A239 #3993A2
tetradic
#A23993 #A27C39 #39A248 #395FA2
square
#A23993 #A27C39 #39A248 #395FA2
split-complementary
#A23993 #5FA239 #39A27C
monochromatic
#471941 #75296A #A23993 #C355B3 #D382C8

Accessibility & contrast

On white

5.93
#A23993 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A23993 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23993
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23993#FFFFFF#000000##FFFFFF
##A239931.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375A96
Deuteranopia (green-blind)
#5A6990
Tritanopia (blue-blind)
#A94161
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a23993;
/* rgb */ color: rgb(162, 57, 147);
/* oklch */ color: oklch(52.5% 0.173 333.9);
Tailwind
colors: {
  custom: {
    50: '#c177b3',
    500: '#a23993',
    950: '#000000',
  },
}
SCSS
$custom: #a23993;
$custom-light: #c177b3;
$custom-dark: #000000;
JSON
{
  "hex": "#a23993",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 147
  },
  "hsl": {
    "h": 308.571,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5255,
    "c": 0.17343,
    "h": 333.9
  },
  "luminance": 0.12714
}

Semantic roles & 50–950 ramp

primary
#A23993
secondary
#7ABD84
accent
#D86450
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23993

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

Preview Lab → · Contrast checker → · Palette generator →

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