#A8239A#A8239A

#A8239A is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.207 H 333.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A8239A
RGBrgb(168, 35, 154)
HSLhsl(306, 66%, 40%)
HSVhsv(306, 79%, 66%)
CMYKcmyk(0%, 79.2%, 8.3%, 34.1%)
CIE-LABlab(41.00, 64.01, -34.24)
CIE-LCHlch(41.00, 72.59, 331.86°)
OKLaboklab(51.89% 0.1849 -0.0941)
OKLCHoklch(51.89% 0.207 333)
XYZxyz(22.5824, 11.8620, 31.6658)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8239A #23A831
analogous
#7423A8 #A8239A #A82357
triadic
#A8239A #9AA823 #239AA8
tetradic
#A8239A #A87423 #23A831 #2357A8
square
#A8239A #A87423 #23A831 #2357A8
split-complementary
#A8239A #57A823 #23A874
monochromatic
#430E3D #75186C #A8239A #D534C4 #DF66D2

Accessibility & contrast

On white

6.23
#A8239A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A8239A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8239A
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8239A#FFFFFF#000000##FFFFFF
##A8239A1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B559D
Deuteranopia (green-blind)
#526797
Tritanopia (blue-blind)
#B0335E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8239a;
/* rgb */ color: rgb(168, 35, 154);
/* oklch */ color: oklch(51.9% 0.207 333.0);
Tailwind
colors: {
  custom: {
    50: '#c66fb8',
    500: '#a8239a',
    950: '#000000',
  },
}
SCSS
$custom: #a8239a;
$custom-light: #c66fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a8239a",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 306.316,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51894,
    "c": 0.20743,
    "h": 333
  },
  "luminance": 0.1186
}

Semantic roles & 50–950 ramp

primary
#A8239A
secondary
#62C56C
accent
#E8513F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A8239A

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

Preview Lab → · Contrast checker → · Palette generator →

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