#A23892#A23892

#A23892 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.4% C 0.174 H 334.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A23892
RGBrgb(162, 56, 146)
HSLhsl(309, 49%, 43%)
HSVhsv(309, 65%, 64%)
CMYKcmyk(0%, 65.4%, 9.9%, 36.5%)
CIE-LABlab(42.13, 54.09, -27.68)
CIE-LCHlch(42.13, 60.76, 332.90°)
OKLaboklab(52.39% 0.1568 -0.0756)
OKLCHoklch(52.39% 0.174 334.3)
XYZxyz(21.5029, 12.5868, 28.4855)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23892 #38A248
analogous
#7D38A2 #A23892 #A2385D
triadic
#A23892 #92A238 #3892A2
tetradic
#A23892 #A27D38 #38A248 #385DA2
square
#A23892 #A27D38 #38A248 #385DA2
split-complementary
#A23892 #5DA238 #38A27D
monochromatic
#471940 #752869 #A23892 #C453B3 #D381C7

Accessibility & contrast

On white

5.97
#A23892 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A23892 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23892
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23892#FFFFFF#000000##FFFFFF
##A238921.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375995
Deuteranopia (green-blind)
#5A698F
Tritanopia (blue-blind)
#A94060
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a23892;
/* rgb */ color: rgb(162, 56, 146);
/* oklch */ color: oklch(52.4% 0.174 334.3);
Tailwind
colors: {
  custom: {
    50: '#c176b2',
    500: '#a23892',
    950: '#000000',
  },
}
SCSS
$custom: #a23892;
$custom-light: #c176b2;
$custom-dark: #000000;
JSON
{
  "hex": "#a23892",
  "rgb": {
    "r": 162,
    "g": 56,
    "b": 146
  },
  "hsl": {
    "h": 309.057,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5239,
    "c": 0.17404,
    "h": 334.3
  },
  "luminance": 0.12585
}

Semantic roles & 50–950 ramp

primary
#A23892
secondary
#79BD83
accent
#D86450
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23892

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

Preview Lab → · Contrast checker → · Palette generator →

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