#A823A6#A823A6

#A823A6 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.216 H 328.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A823A6
RGBrgb(168, 35, 166)
HSLhsl(301, 66%, 40%)
HSVhsv(301, 79%, 66%)
CMYKcmyk(0%, 79.2%, 1.2%, 34.1%)
CIE-LABlab(41.66, 65.87, -40.40)
CIE-LCHlch(41.66, 77.27, 328.48°)
OKLaboklab(52.58% 0.1849 -0.1119)
OKLCHoklch(52.58% 0.216 328.8)
XYZxyz(23.6322, 12.2819, 37.1950)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A823A6 #23A825
analogous
#6723A8 #A823A6 #A82364
triadic
#A823A6 #A6A823 #23A6A8
tetradic
#A823A6 #A86723 #23A825 #2364A8
square
#A823A6 #A86723 #23A825 #2364A8
split-complementary
#A823A6 #64A823 #23A867
monochromatic
#430E42 #751874 #A823A6 #D534D2 #DF66DD

Accessibility & contrast

On white

6.08
#A823A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A823A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A823A6
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A823A6#FFFFFF#000000##FFFFFF
##A823A61.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4C68A3
Tritanopia (blue-blind)
#AE3965
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a823a6;
/* rgb */ color: rgb(168, 35, 166);
/* oklch */ color: oklch(52.6% 0.216 328.8);
Tailwind
colors: {
  custom: {
    50: '#c66fc1',
    500: '#a823a6',
    950: '#000000',
  },
}
SCSS
$custom: #a823a6;
$custom-light: #c66fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#a823a6",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 300.902,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52583,
    "c": 0.21611,
    "h": 328.8
  },
  "luminance": 0.1228
}

Semantic roles & 50–950 ramp

primary
#A823A6
secondary
#62C564
accent
#E8423F
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A823A6

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

Preview Lab → · Contrast checker → · Palette generator →

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