#A23FAB#A23FAB

#A23FAB is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.5% C 0.185 H 324.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#A23FAB
RGBrgb(162, 63, 171)
HSLhsl(295, 46%, 46%)
HSVhsv(295, 63%, 67%)
CMYKcmyk(5.3%, 63.2%, 0%, 32.9%)
CIE-LABlab(44.49, 55.43, -38.94)
CIE-LCHlch(44.49, 67.74, 324.91°)
OKLaboklab(54.51% 0.1504 -0.1081)
OKLCHoklch(54.51% 0.185 324.3)
XYZxyz(24.0279, 14.1780, 39.9912)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FAB #48AB3F
analogous
#6C3FAB #A23FAB #AB3F7E
triadic
#A23FAB #ABA23F #3FABA2
tetradic
#A23FAB #AB6C3F #48AB3F #3F7EAB
square
#A23FAB #AB6C3F #48AB3F #3F7EAB
split-complementary
#A23FAB #7EAB3F #3FAB6C
monochromatic
#4D1E52 #782F7E #A23FAB #BD62C5 #D08FD6

Accessibility & contrast

On white

5.48
#A23FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A23FAB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FAB#FFFFFF#000000##FFFFFF
##A23FAB1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B62AE
Deuteranopia (green-blind)
#516DA8
Tritanopia (blue-blind)
#A54F6F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a23fab;
/* rgb */ color: rgb(162, 63, 171);
/* oklch */ color: oklch(54.5% 0.185 324.3);
Tailwind
colors: {
  custom: {
    50: '#c07bc4',
    500: '#a23fab',
    950: '#000000',
  },
}
SCSS
$custom: #a23fab;
$custom-light: #c07bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fab",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 295,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54514,
    "c": 0.18518,
    "h": 324.3
  },
  "luminance": 0.14177
}

Semantic roles & 50–950 ramp

primary
#A23FAB
secondary
#8AC185
accent
#D6525D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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