#A23BAC#A23BAC

#A23BAC is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.1% C 0.192 H 324.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A23BAC
RGBrgb(162, 59, 172)
HSLhsl(295, 49%, 45%)
HSVhsv(295, 66%, 67%)
CMYKcmyk(5.8%, 65.7%, 0%, 32.5%)
CIE-LABlab(43.93, 57.32, -40.42)
CIE-LCHlch(43.93, 70.14, 324.81°)
OKLaboklab(54.13% 0.1551 -0.1123)
OKLCHoklch(54.13% 0.192 324.1)
XYZxyz(23.9100, 13.7893, 40.4239)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BAC #45AC3B
analogous
#693BAC #A23BAC #AC3B7E
triadic
#A23BAC #ACA23B #3BACA2
tetradic
#A23BAC #AC693B #45AC3B #3B7EAC
square
#A23BAC #AC693B #45AC3B #3B7EAC
split-complementary
#A23BAC #7EAC3B #3BAC69
monochromatic
#4C1C51 #772B7E #A23BAC #BE5DC7 #D08AD7

Accessibility & contrast

On white

5.59
#A23BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A23BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BAC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BAC#FFFFFF#000000##FFFFFF
##A23BAC1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2360AF
Deuteranopia (green-blind)
#4E6CA9
Tritanopia (blue-blind)
#A54D6E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a23bac;
/* rgb */ color: rgb(162, 59, 172);
/* oklch */ color: oklch(54.1% 0.192 324.1);
Tailwind
colors: {
  custom: {
    50: '#c179c5',
    500: '#a23bac',
    950: '#000000',
  },
}
SCSS
$custom: #a23bac;
$custom-light: #c179c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bac",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 294.69,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54128,
    "c": 0.19152,
    "h": 324.1
  },
  "luminance": 0.13788
}

Semantic roles & 50–950 ramp

primary
#A23BAC
secondary
#87C181
accent
#D84F5B
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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