#A8239E#A8239E

#A8239E is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.210 H 331.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A8239E
RGBrgb(168, 35, 158)
HSLhsl(305, 66%, 40%)
HSVhsv(305, 79%, 66%)
CMYKcmyk(0%, 79.2%, 6%, 34.1%)
CIE-LABlab(41.21, 64.62, -36.31)
CIE-LCHlch(41.21, 74.12, 330.67°)
OKLaboklab(52.12% 0.1849 -0.1001)
OKLCHoklch(52.12% 0.21 331.6)
XYZxyz(22.9211, 11.9974, 33.4497)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8239E #23A82D
analogous
#6F23A8 #A8239E #A8235C
triadic
#A8239E #9EA823 #239EA8
tetradic
#A8239E #A86F23 #23A82D #235CA8
square
#A8239E #A86F23 #23A82D #235CA8
split-complementary
#A8239E #5CA823 #23A86F
monochromatic
#430E3F #75186E #A8239E #D534C9 #DF66D6

Accessibility & contrast

On white

6.18
#A8239E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A8239E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8239E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8239E#FFFFFF#000000##FFFFFF
##A8239E1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1556A1
Deuteranopia (green-blind)
#50689B
Tritanopia (blue-blind)
#AF3560
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8239e;
/* rgb */ color: rgb(168, 35, 158);
/* oklch */ color: oklch(52.1% 0.210 331.6);
Tailwind
colors: {
  custom: {
    50: '#c66fbb',
    500: '#a8239e',
    950: '#000000',
  },
}
SCSS
$custom: #a8239e;
$custom-light: #c66fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#a8239e",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 304.511,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52118,
    "c": 0.21028,
    "h": 331.6
  },
  "luminance": 0.11996
}

Semantic roles & 50–950 ramp

primary
#A8239E
secondary
#62C569
accent
#E84C3F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A8239E

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

Preview Lab → · Contrast checker → · Palette generator →

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