#A8239C#A8239C

#A8239C is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.209 H 332.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A8239C
RGBrgb(168, 35, 156)
HSLhsl(305, 66%, 40%)
HSVhsv(305, 79%, 66%)
CMYKcmyk(0%, 79.2%, 7.1%, 34.1%)
CIE-LABlab(41.10, 64.31, -35.28)
CIE-LCHlch(41.10, 73.35, 331.25°)
OKLaboklab(52.01% 0.1849 -0.0971)
OKLCHoklch(52.01% 0.209 332.3)
XYZxyz(22.7503, 11.9291, 32.5504)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8239C #23A82F
analogous
#7223A8 #A8239C #A82359
triadic
#A8239C #9CA823 #239CA8
tetradic
#A8239C #A87223 #23A82F #2359A8
square
#A8239C #A87223 #23A82F #2359A8
split-complementary
#A8239C #59A823 #23A872
monochromatic
#430E3E #75186D #A8239C #D534C6 #DF66D4

Accessibility & contrast

On white

6.20
#A8239C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A8239C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8239C
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8239C#FFFFFF#000000##FFFFFF
##A8239C1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18559F
Deuteranopia (green-blind)
#516799
Tritanopia (blue-blind)
#AF345F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8239c;
/* rgb */ color: rgb(168, 35, 156);
/* oklch */ color: oklch(52.0% 0.209 332.3);
Tailwind
colors: {
  custom: {
    50: '#c66fb9',
    500: '#a8239c',
    950: '#000000',
  },
}
SCSS
$custom: #a8239c;
$custom-light: #c66fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8239c",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 305.414,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52006,
    "c": 0.20885,
    "h": 332.3
  },
  "luminance": 0.11927
}

Semantic roles & 50–950 ramp

primary
#A8239C
secondary
#62C56B
accent
#E84F3F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A8239C

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

Preview Lab → · Contrast checker → · Palette generator →

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