#A8239F#A8239F

#A8239F is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.211 H 331.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A8239F
RGBrgb(168, 35, 159)
HSLhsl(304, 66%, 40%)
HSVhsv(304, 79%, 66%)
CMYKcmyk(0%, 79.2%, 5.4%, 34.1%)
CIE-LABlab(41.27, 64.77, -36.82)
CIE-LCHlch(41.27, 74.51, 330.38°)
OKLaboklab(52.18% 0.185 -0.1016)
OKLCHoklch(52.18% 0.211 331.2)
XYZxyz(23.0075, 12.0320, 33.9048)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8239F #23A82C
analogous
#6E23A8 #A8239F #A8235D
triadic
#A8239F #9FA823 #239FA8
tetradic
#A8239F #A86E23 #23A82C #235DA8
square
#A8239F #A86E23 #23A82C #235DA8
split-complementary
#A8239F #5DA823 #23A86E
monochromatic
#430E3F #75186F #A8239F #D534CA #DF66D7

Accessibility & contrast

On white

6.17
#A8239F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A8239F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8239F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8239F#FFFFFF#000000##FFFFFF
##A8239F1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1356A2
Deuteranopia (green-blind)
#50689C
Tritanopia (blue-blind)
#AF3561
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8239f;
/* rgb */ color: rgb(168, 35, 159);
/* oklch */ color: oklch(52.2% 0.211 331.2);
Tailwind
colors: {
  custom: {
    50: '#c66fbc',
    500: '#a8239f',
    950: '#000000',
  },
}
SCSS
$custom: #a8239f;
$custom-light: #c66fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a8239f",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 304.06,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52175,
    "c": 0.21101,
    "h": 331.2
  },
  "luminance": 0.1203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8239F

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

Preview Lab → · Contrast checker → · Palette generator →

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