#A323A8#A323A8

#A323A8 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.215 H 326.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A323A8
RGBrgb(163, 35, 168)
HSLhsl(298, 66%, 40%)
HSVhsv(298, 79%, 66%)
CMYKcmyk(3%, 79.2%, 0%, 34.1%)
CIE-LABlab(40.92, 65.18, -42.81)
CIE-LCHlch(40.92, 77.99, 326.70°)
OKLaboklab(51.93% 0.1795 -0.1191)
OKLCHoklch(51.93% 0.215 326.4)
XYZxyz(22.7728, 11.8174, 38.1197)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A323A8 #28A823
analogous
#6023A8 #A323A8 #A8236B
triadic
#A323A8 #A8A323 #23A8A3
tetradic
#A323A8 #A86023 #28A823 #236BA8
square
#A323A8 #A86023 #28A823 #236BA8
split-complementary
#A323A8 #6BA823 #23A860
monochromatic
#410E43 #721875 #A323A8 #CF34D5 #DB66DF

Accessibility & contrast

On white

6.24
#A323A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A323A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A323A8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A323A8#FFFFFF#000000##FFFFFF
##A323A81.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#4566A5
Tritanopia (blue-blind)
#A73C66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a323a8;
/* rgb */ color: rgb(163, 35, 168);
/* oklch */ color: oklch(51.9% 0.215 326.4);
Tailwind
colors: {
  custom: {
    50: '#c26ec2',
    500: '#a323a8',
    950: '#000000',
  },
}
SCSS
$custom: #a323a8;
$custom-light: #c26ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a323a8",
  "rgb": {
    "r": 163,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 297.744,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51935,
    "c": 0.21539,
    "h": 326.4
  },
  "luminance": 0.11816
}

Semantic roles & 50–950 ramp

primary
#A323A8
secondary
#66C562
accent
#E83F46
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A323A8

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

Preview Lab → · Contrast checker → · Palette generator →

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