#A239A4#A239A4

#A239A4 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.5% C 0.187 H 327.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A239A4
RGBrgb(162, 57, 164)
HSLhsl(299, 48%, 43%)
HSVhsv(299, 65%, 64%)
CMYKcmyk(1.2%, 65.2%, 0%, 35.7%)
CIE-LABlab(43.20, 56.71, -36.83)
CIE-LCHlch(43.20, 67.62, 327.00°)
OKLaboklab(53.46% 0.1572 -0.1019)
OKLCHoklch(53.46% 0.187 327)
XYZxyz(23.0639, 13.2895, 36.4651)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239A4 #3BA439
analogous
#6D39A4 #A239A4 #A43970
triadic
#A239A4 #A4A239 #39A4A2
tetradic
#A239A4 #A46D39 #3BA439 #3970A4
square
#A239A4 #A46D39 #3BA439 #3970A4
split-complementary
#A239A4 #70A439 #39A46D
monochromatic
#481949 #752977 #A239A4 #C256C4 #D383D4

Accessibility & contrast

On white

5.74
#A239A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A239A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239A4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239A4#FFFFFF#000000##FFFFFF
##A239A41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295DA7
Deuteranopia (green-blind)
#516BA1
Tritanopia (blue-blind)
#A7486A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a239a4;
/* rgb */ color: rgb(162, 57, 164);
/* oklch */ color: oklch(53.5% 0.187 327.0);
Tailwind
colors: {
  custom: {
    50: '#c178bf',
    500: '#a239a4',
    950: '#000000',
  },
}
SCSS
$custom: #a239a4;
$custom-light: #c178bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a239a4",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 164
  },
  "hsl": {
    "h": 298.879,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53457,
    "c": 0.18729,
    "h": 327
  },
  "luminance": 0.13288
}

Semantic roles & 50–950 ramp

primary
#A239A4
secondary
#7CBE7B
accent
#D85052
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A239A4

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

Preview Lab → · Contrast checker → · Palette generator →

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