#A823A1#A823A1

#A823A1 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.212 H 330.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A823A1
RGBrgb(168, 35, 161)
HSLhsl(303, 66%, 40%)
HSVhsv(303, 79%, 66%)
CMYKcmyk(0%, 79.2%, 4.2%, 34.1%)
CIE-LABlab(41.38, 65.08, -37.85)
CIE-LCHlch(41.38, 75.29, 329.82°)
OKLaboklab(52.29% 0.185 -0.1045)
OKLCHoklch(52.29% 0.212 330.5)
XYZxyz(23.1824, 12.1020, 34.8262)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A823A1 #23A82A
analogous
#6D23A8 #A823A1 #A8235E
triadic
#A823A1 #A1A823 #23A1A8
tetradic
#A823A1 #A86D23 #23A82A #235EA8
square
#A823A1 #A86D23 #23A82A #235EA8
split-complementary
#A823A1 #5EA823 #23A86D
monochromatic
#430E40 #751870 #A823A1 #D534CC #DF66D9

Accessibility & contrast

On white

6.14
#A823A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A823A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A823A1
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A823A1#FFFFFF#000000##FFFFFF
##A823A11.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E56A4
Deuteranopia (green-blind)
#4E689E
Tritanopia (blue-blind)
#AF3762
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a823a1;
/* rgb */ color: rgb(168, 35, 161);
/* oklch */ color: oklch(52.3% 0.212 330.5);
Tailwind
colors: {
  custom: {
    50: '#c66fbd',
    500: '#a823a1',
    950: '#000000',
  },
}
SCSS
$custom: #a823a1;
$custom-light: #c66fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#a823a1",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 161
  },
  "hsl": {
    "h": 303.158,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5229,
    "c": 0.21246,
    "h": 330.5
  },
  "luminance": 0.121
}

Semantic roles & 50–950 ramp

primary
#A823A1
secondary
#62C567
accent
#E8483F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A823A1

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

Preview Lab → · Contrast checker → · Palette generator →

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