#A23FA6#A23FA6

#A23FA6 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.2% C 0.181 H 326.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#A23FA6
RGBrgb(162, 63, 166)
HSLhsl(298, 45%, 45%)
HSVhsv(298, 62%, 65%)
CMYKcmyk(2.4%, 62%, 0%, 34.9%)
CIE-LABlab(44.22, 54.52, -36.40)
CIE-LCHlch(44.22, 65.55, 326.27°)
OKLaboklab(54.23% 0.1501 -0.1007)
OKLCHoklch(54.23% 0.181 326.1)
XYZxyz(23.5603, 13.9910, 37.5286)
Luminance0.1399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FA6 #43A63F
analogous
#6F3FA6 #A23FA6 #A63F76
triadic
#A23FA6 #A6A23F #3FA6A2
tetradic
#A23FA6 #A66F3F #43A63F #3F76A6
square
#A23FA6 #A66F3F #43A63F #3F76A6
split-complementary
#A23FA6 #76A63F #3FA66F
monochromatic
#4B1D4D #772E7A #A23FA6 #BF60C3 #D18CD3

Accessibility & contrast

On white

5.53
#A23FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#A23FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FA6
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FA6#FFFFFF#000000##FFFFFF
##A23FA61.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3061A9
Deuteranopia (green-blind)
#546DA3
Tritanopia (blue-blind)
#A64D6D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a23fa6;
/* rgb */ color: rgb(162, 63, 166);
/* oklch */ color: oklch(54.2% 0.181 326.1);
Tailwind
colors: {
  custom: {
    50: '#c07bc1',
    500: '#a23fa6',
    950: '#000000',
  },
}
SCSS
$custom: #a23fa6;
$custom-light: #c07bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fa6",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 166
  },
  "hsl": {
    "h": 297.67,
    "s": 44.978,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54234,
    "c": 0.18077,
    "h": 326.1
  },
  "luminance": 0.1399
}

Semantic roles & 50–950 ramp

primary
#A23FA6
secondary
#85BE83
accent
#D55358
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A23FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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