#A23992#A23992

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

Color values

HEX#A23992
RGBrgb(162, 57, 146)
HSLhsl(309, 48%, 43%)
HSVhsv(309, 65%, 64%)
CMYKcmyk(0%, 64.8%, 9.9%, 36.5%)
CIE-LABlab(42.28, 53.67, -27.45)
CIE-LCHlch(42.28, 60.28, 332.91°)
OKLaboklab(52.5% 0.1556 -0.0749)
OKLCHoklch(52.5% 0.173 334.3)
XYZxyz(21.5519, 12.6847, 28.5018)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23992 #39A249
analogous
#7D39A2 #A23992 #A2395D
triadic
#A23992 #92A239 #3992A2
tetradic
#A23992 #A27D39 #39A249 #395DA2
square
#A23992 #A27D39 #39A249 #395DA2
split-complementary
#A23992 #5DA239 #39A27D
monochromatic
#471940 #752969 #A23992 #C355B2 #D382C7

Accessibility & contrast

On white

5.94
#A23992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A23992
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23992#FFFFFF#000000##FFFFFF
##A239921.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385A95
Deuteranopia (green-blind)
#5A698F
Tritanopia (blue-blind)
#A94160
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a23992;
/* rgb */ color: rgb(162, 57, 146);
/* oklch */ color: oklch(52.5% 0.173 334.3);
Tailwind
colors: {
  custom: {
    50: '#c177b2',
    500: '#a23992',
    950: '#000000',
  },
}
SCSS
$custom: #a23992;
$custom-light: #c177b2;
$custom-dark: #000000;
JSON
{
  "hex": "#a23992",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 146
  },
  "hsl": {
    "h": 309.143,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52499,
    "c": 0.17265,
    "h": 334.3
  },
  "luminance": 0.12683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A23992

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

Preview Lab → · Contrast checker → · Palette generator →

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