#A23FAC#A23FAC

#A23FAC is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.6% C 0.186 H 323.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A23FAC
RGBrgb(162, 63, 172)
HSLhsl(294, 46%, 46%)
HSVhsv(294, 63%, 67%)
CMYKcmyk(5.8%, 63.4%, 0%, 32.5%)
CIE-LABlab(44.54, 55.62, -39.45)
CIE-LCHlch(44.54, 68.18, 324.65°)
OKLaboklab(54.57% 0.1504 -0.1095)
OKLCHoklch(54.57% 0.186 323.9)
XYZxyz(24.1235, 14.2163, 40.4951)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FAC #49AC3F
analogous
#6B3FAC #A23FAC #AC3F7F
triadic
#A23FAC #ACA23F #3FACA2
tetradic
#A23FAC #AC6B3F #49AC3F #3F7FAC
square
#A23FAC #AC6B3F #49AC3F #3F7FAC
split-complementary
#A23FAC #7FAC3F #3FAC6B
monochromatic
#4E1E52 #782F7F #A23FAC #BD63C6 #D08FD6

Accessibility & contrast

On white

5.46
#A23FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#A23FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FAC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FAC#FFFFFF#000000##FFFFFF
##A23FAC1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A62AF
Deuteranopia (green-blind)
#516DA9
Tritanopia (blue-blind)
#A54F70
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a23fac;
/* rgb */ color: rgb(162, 63, 172);
/* oklch */ color: oklch(54.6% 0.186 323.9);
Tailwind
colors: {
  custom: {
    50: '#c07bc5',
    500: '#a23fac',
    950: '#000000',
  },
}
SCSS
$custom: #a23fac;
$custom-light: #c07bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fac",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 294.495,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54571,
    "c": 0.18608,
    "h": 323.9
  },
  "luminance": 0.14215
}

Semantic roles & 50–950 ramp

primary
#A23FAC
secondary
#8BC186
accent
#D6525E
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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