#A8239D#A8239D

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

Color values

HEX#A8239D
RGBrgb(168, 35, 157)
HSLhsl(305, 66%, 40%)
HSVhsv(305, 79%, 66%)
CMYKcmyk(0%, 79.2%, 6.5%, 34.1%)
CIE-LABlab(41.16, 64.46, -35.79)
CIE-LCHlch(41.16, 73.73, 330.96°)
OKLaboklab(52.06% 0.1849 -0.0986)
OKLCHoklch(52.06% 0.21 331.9)
XYZxyz(22.8353, 11.9631, 32.9982)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8239D #23A82E
analogous
#7023A8 #A8239D #A8235B
triadic
#A8239D #9DA823 #239DA8
tetradic
#A8239D #A87023 #23A82E #235BA8
square
#A8239D #A87023 #23A82E #235BA8
split-complementary
#A8239D #5BA823 #23A870
monochromatic
#430E3E #75186E #A8239D #D534C7 #DF66D5

Accessibility & contrast

On white

6.19
#A8239D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8239D
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8239D#FFFFFF#000000##FFFFFF
##A8239D1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1655A0
Deuteranopia (green-blind)
#51679A
Tritanopia (blue-blind)
#AF3460
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8239d;
/* rgb */ color: rgb(168, 35, 157);
/* oklch */ color: oklch(52.1% 0.210 331.9);
Tailwind
colors: {
  custom: {
    50: '#c66fba',
    500: '#a8239d',
    950: '#000000',
  },
}
SCSS
$custom: #a8239d;
$custom-light: #c66fba;
$custom-dark: #000000;
JSON
{
  "hex": "#a8239d",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 304.962,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52062,
    "c": 0.20957,
    "h": 331.9
  },
  "luminance": 0.11961
}

Semantic roles & 50–950 ramp

primary
#A8239D
secondary
#62C56A
accent
#E84D3F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A8239D

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

Preview Lab → · Contrast checker → · Palette generator →

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