#A23FA2#A23FA2

#A23FA2 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.0% C 0.177 H 327.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A23FA2
RGBrgb(162, 63, 162)
HSLhsl(300, 44%, 44%)
HSVhsv(300, 61%, 64%)
CMYKcmyk(0%, 61.1%, 0%, 36.5%)
CIE-LABlab(44.01, 53.80, -34.35)
CIE-LCHlch(44.01, 63.83, 327.45°)
OKLaboklab(54.02% 0.1498 -0.0948)
OKLCHoklch(54.02% 0.177 327.7)
XYZxyz(23.1990, 13.8465, 35.6261)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FA2 #3FA23F
analogous
#713FA2 #A23FA2 #A23F71
triadic
#A23FA2 #A2A23F #3FA2A2
tetradic
#A23FA2 #A2713F #3FA23F #3F71A2
square
#A23FA2 #A2713F #3FA23F #3F71A2
split-complementary
#A23FA2 #71A23F #3FA271
monochromatic
#4A1D4A #762E76 #A23FA2 #C05EC0 #D18AD1

Accessibility & contrast

On white

5.57
#A23FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A23FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FA2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FA2#FFFFFF#000000##FFFFFF
##A23FA21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A5
Deuteranopia (green-blind)
#566D9F
Tritanopia (blue-blind)
#A74B6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a23fa2;
/* rgb */ color: rgb(162, 63, 162);
/* oklch */ color: oklch(54.0% 0.177 327.7);
Tailwind
colors: {
  custom: {
    50: '#c07bbe',
    500: '#a23fa2',
    950: '#000000',
  },
}
SCSS
$custom: #a23fa2;
$custom-light: #c07bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fa2",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54015,
    "c": 0.17729,
    "h": 327.7
  },
  "luminance": 0.13845
}

Semantic roles & 50–950 ramp

primary
#A23FA2
secondary
#81BC81
accent
#D45454
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A23FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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