#A239AB#A239AB

#A239AB is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.9% C 0.193 H 324.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A239AB
RGBrgb(162, 57, 171)
HSLhsl(295, 50%, 45%)
HSVhsv(295, 67%, 67%)
CMYKcmyk(5.3%, 66.7%, 0%, 32.9%)
CIE-LABlab(43.58, 57.96, -40.38)
CIE-LCHlch(43.58, 70.64, 325.13°)
OKLaboklab(53.86% 0.1574 -0.1122)
OKLCHoklch(53.86% 0.193 324.5)
XYZxyz(23.7135, 13.5493, 39.8864)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239AB #42AB39
analogous
#6939AB #A239AB #AB397B
triadic
#A239AB #ABA239 #39ABA2
tetradic
#A239AB #AB6939 #42AB39 #397BAB
square
#A239AB #AB6939 #42AB39 #397BAB
split-complementary
#A239AB #7BAB39 #39AB69
monochromatic
#4B1A4F #772A7D #A239AB #BF59C8 #D187D7

Accessibility & contrast

On white

5.66
#A239AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A239AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239AB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239AB#FFFFFF#000000##FFFFFF
##A239AB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205FAE
Deuteranopia (green-blind)
#4D6BA8
Tritanopia (blue-blind)
#A54B6D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a239ab;
/* rgb */ color: rgb(162, 57, 171);
/* oklch */ color: oklch(53.9% 0.193 324.5);
Tailwind
colors: {
  custom: {
    50: '#c178c4',
    500: '#a239ab',
    950: '#000000',
  },
}
SCSS
$custom: #a239ab;
$custom-light: #c178c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a239ab",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 171
  },
  "hsl": {
    "h": 295.263,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53858,
    "c": 0.19327,
    "h": 324.5
  },
  "luminance": 0.13548
}

Semantic roles & 50–950 ramp

primary
#A239AB
secondary
#84C17F
accent
#DA4E59
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A239AB

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

Preview Lab → · Contrast checker → · Palette generator →

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