#A23FA4#A23FA4

#A23FA4 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.1% C 0.179 H 326.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A23FA4
RGBrgb(162, 63, 164)
HSLhsl(299, 44%, 45%)
HSVhsv(299, 62%, 64%)
CMYKcmyk(1.2%, 61.6%, 0%, 35.7%)
CIE-LABlab(44.12, 54.16, -35.38)
CIE-LCHlch(44.12, 64.69, 326.85°)
OKLaboklab(54.12% 0.15 -0.0977)
OKLCHoklch(54.12% 0.179 326.9)
XYZxyz(23.3782, 13.9182, 36.5699)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FA4 #41A43F
analogous
#703FA4 #A23FA4 #A43F74
triadic
#A23FA4 #A4A23F #3FA4A2
tetradic
#A23FA4 #A4703F #41A43F #3F74A4
square
#A23FA4 #A4703F #41A43F #3F74A4
split-complementary
#A23FA4 #74A43F #3FA470
monochromatic
#4B1D4C #762E78 #A23FA4 #BF5FC1 #D18BD2

Accessibility & contrast

On white

5.55
#A23FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#A23FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FA4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FA4#FFFFFF#000000##FFFFFF
##A23FA41.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#556DA1
Tritanopia (blue-blind)
#A64C6C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a23fa4;
/* rgb */ color: rgb(162, 63, 164);
/* oklch */ color: oklch(54.1% 0.179 326.9);
Tailwind
colors: {
  custom: {
    50: '#c07bbf',
    500: '#a23fa4',
    950: '#000000',
  },
}
SCSS
$custom: #a23fa4;
$custom-light: #c07bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fa4",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 298.812,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54124,
    "c": 0.17902,
    "h": 326.9
  },
  "luminance": 0.13917
}

Semantic roles & 50–950 ramp

primary
#A23FA4
secondary
#83BD82
accent
#D45456
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A23FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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