#A239A5#A239A5

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

Color values

HEX#A239A5
RGBrgb(162, 57, 165)
HSLhsl(298, 49%, 44%)
HSVhsv(298, 65%, 65%)
CMYKcmyk(1.8%, 65.5%, 0%, 35.3%)
CIE-LABlab(43.25, 56.89, -37.34)
CIE-LCHlch(43.25, 68.05, 326.72°)
OKLaboklab(53.51% 0.1572 -0.1034)
OKLCHoklch(53.51% 0.188 326.7)
XYZxyz(23.1545, 13.3257, 36.9426)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239A5 #3CA539
analogous
#6C39A5 #A239A5 #A53972
triadic
#A239A5 #A5A239 #39A5A2
tetradic
#A239A5 #A56C39 #3CA539 #3972A5
square
#A239A5 #A56C39 #3CA539 #3972A5
split-complementary
#A239A5 #72A539 #39A56C
monochromatic
#491A4A #752978 #A239A5 #C256C5 #D284D4

Accessibility & contrast

On white

5.73
#A239A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A239A5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239A5#FFFFFF#000000##FFFFFF
##A239A51.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EA8
Deuteranopia (green-blind)
#516BA2
Tritanopia (blue-blind)
#A6486A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a239a5;
/* rgb */ color: rgb(162, 57, 165);
/* oklch */ color: oklch(53.5% 0.188 326.7);
Tailwind
colors: {
  custom: {
    50: '#c178c0',
    500: '#a239a5',
    950: '#000000',
  },
}
SCSS
$custom: #a239a5;
$custom-light: #c178c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a239a5",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 165
  },
  "hsl": {
    "h": 298.333,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53514,
    "c": 0.18814,
    "h": 326.7
  },
  "luminance": 0.13324
}

Semantic roles & 50–950 ramp

primary
#A239A5
secondary
#7DBE7B
accent
#D85053
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A239A5

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

Preview Lab → · Contrast checker → · Palette generator →

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