#A23792#A23792

#A23792 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.3% C 0.175 H 334.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A23792
RGBrgb(162, 55, 146)
HSLhsl(309, 49%, 43%)
HSVhsv(309, 66%, 64%)
CMYKcmyk(0%, 66%, 9.9%, 36.5%)
CIE-LABlab(41.99, 54.50, -27.91)
CIE-LCHlch(41.99, 61.23, 332.88°)
OKLaboklab(52.28% 0.158 -0.0762)
OKLCHoklch(52.28% 0.175 334.3)
XYZxyz(21.4549, 12.4908, 28.4695)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23792 #37A247
analogous
#7D37A2 #A23792 #A2375C
triadic
#A23792 #92A237 #3792A2
tetradic
#A23792 #A27D37 #37A247 #375CA2
square
#A23792 #A27D37 #37A247 #375CA2
split-complementary
#A23792 #5CA237 #37A27D
monochromatic
#471840 #742769 #A23792 #C452B3 #D480C7

Accessibility & contrast

On white

6.00
#A23792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A23792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23792
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23792#FFFFFF#000000##FFFFFF
##A237921.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365995
Deuteranopia (green-blind)
#59698F
Tritanopia (blue-blind)
#A93F5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a23792;
/* rgb */ color: rgb(162, 55, 146);
/* oklch */ color: oklch(52.3% 0.175 334.3);
Tailwind
colors: {
  custom: {
    50: '#c176b2',
    500: '#a23792',
    950: '#000000',
  },
}
SCSS
$custom: #a23792;
$custom-light: #c176b2;
$custom-dark: #000000;
JSON
{
  "hex": "#a23792",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 146
  },
  "hsl": {
    "h": 308.972,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52282,
    "c": 0.17542,
    "h": 334.3
  },
  "luminance": 0.12489
}

Semantic roles & 50–950 ramp

primary
#A23792
secondary
#78BD82
accent
#D9644F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23792

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

Preview Lab → · Contrast checker → · Palette generator →

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