#A823A2#A823A2

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

Color values

HEX#A823A2
RGBrgb(168, 35, 162)
HSLhsl(303, 66%, 40%)
HSVhsv(303, 79%, 66%)
CMYKcmyk(0%, 79.2%, 3.6%, 34.1%)
CIE-LABlab(41.43, 65.24, -38.36)
CIE-LCHlch(41.43, 75.68, 329.54°)
OKLaboklab(52.35% 0.1849 -0.106)
OKLCHoklch(52.35% 0.213 330.2)
XYZxyz(23.2710, 12.1374, 35.2925)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A823A2 #23A829
analogous
#6C23A8 #A823A2 #A8235F
triadic
#A823A2 #A2A823 #23A2A8
tetradic
#A823A2 #A86C23 #23A829 #235FA8
square
#A823A2 #A86C23 #23A829 #235FA8
split-complementary
#A823A2 #5FA823 #23A86C
monochromatic
#430E40 #751871 #A823A2 #D534CD #DF66DA

Accessibility & contrast

On white

6.13
#A823A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A823A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A823A2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A823A2#FFFFFF#000000##FFFFFF
##A823A21.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B56A5
Deuteranopia (green-blind)
#4E689F
Tritanopia (blue-blind)
#AE3762
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a823a2;
/* rgb */ color: rgb(168, 35, 162);
/* oklch */ color: oklch(52.3% 0.213 330.2);
Tailwind
colors: {
  custom: {
    50: '#c66fbe',
    500: '#a823a2',
    950: '#000000',
  },
}
SCSS
$custom: #a823a2;
$custom-light: #c66fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a823a2",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 302.707,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52348,
    "c": 0.21318,
    "h": 330.2
  },
  "luminance": 0.12136
}

Semantic roles & 50–950 ramp

primary
#A823A2
secondary
#62C567
accent
#E8473F
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A823A2

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

Preview Lab → · Contrast checker → · Palette generator →

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