#A8239B#A8239B

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

Color values

HEX#A8239B
RGBrgb(168, 35, 155)
HSLhsl(306, 66%, 40%)
HSVhsv(306, 79%, 66%)
CMYKcmyk(0%, 79.2%, 7.7%, 34.1%)
CIE-LABlab(41.05, 64.16, -34.76)
CIE-LCHlch(41.05, 72.97, 331.55°)
OKLaboklab(51.95% 0.1849 -0.0956)
OKLCHoklch(51.95% 0.208 332.7)
XYZxyz(22.6660, 11.8954, 32.1063)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8239B #23A830
analogous
#7323A8 #A8239B #A82358
triadic
#A8239B #9BA823 #239BA8
tetradic
#A8239B #A87323 #23A830 #2358A8
square
#A8239B #A87323 #23A830 #2358A8
split-complementary
#A8239B #58A823 #23A873
monochromatic
#430E3E #75186C #A8239B #D534C5 #DF66D3

Accessibility & contrast

On white

6.22
#A8239B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A8239B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8239B
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8239B#FFFFFF#000000##FFFFFF
##A8239B1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8239b;
/* rgb */ color: rgb(168, 35, 155);
/* oklch */ color: oklch(51.9% 0.208 332.7);
Tailwind
colors: {
  custom: {
    50: '#c66fb9',
    500: '#a8239b',
    950: '#000000',
  },
}
SCSS
$custom: #a8239b;
$custom-light: #c66fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8239b",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 305.865,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5195,
    "c": 0.20814,
    "h": 332.7
  },
  "luminance": 0.11893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8239B

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

Preview Lab → · Contrast checker → · Palette generator →

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