#A239A9#A239A9

#A239A9 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.7% C 0.192 H 325.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#A239A9
RGBrgb(162, 57, 169)
HSLhsl(296, 50%, 44%)
HSVhsv(296, 66%, 66%)
CMYKcmyk(4.1%, 66.3%, 0%, 33.7%)
CIE-LABlab(43.47, 57.60, -39.37)
CIE-LCHlch(43.47, 69.77, 325.65°)
OKLaboklab(53.74% 0.1573 -0.1093)
OKLCHoklch(53.74% 0.192 325.2)
XYZxyz(23.5243, 13.4737, 38.8900)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239A9 #40A939
analogous
#6A39A9 #A239A9 #A93978
triadic
#A239A9 #A9A239 #39A9A2
tetradic
#A239A9 #A96A39 #40A939 #3978A9
square
#A239A9 #A96A39 #40A939 #3978A9
split-complementary
#A239A9 #78A939 #39A96A
monochromatic
#4A1A4D #762A7B #A239A9 #C058C7 #D186D6

Accessibility & contrast

On white

5.68
#A239A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A239A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239A9
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239A9#FFFFFF#000000##FFFFFF
##A239A91.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235EAC
Deuteranopia (green-blind)
#4F6BA6
Tritanopia (blue-blind)
#A64A6C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a239a9;
/* rgb */ color: rgb(162, 57, 169);
/* oklch */ color: oklch(53.7% 0.192 325.2);
Tailwind
colors: {
  custom: {
    50: '#c178c3',
    500: '#a239a9',
    950: '#000000',
  },
}
SCSS
$custom: #a239a9;
$custom-light: #c178c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a239a9",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 169
  },
  "hsl": {
    "h": 296.25,
    "s": 49.558,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53742,
    "c": 0.19155,
    "h": 325.2
  },
  "luminance": 0.13472
}

Semantic roles & 50–950 ramp

primary
#A239A9
secondary
#82C07E
accent
#D94F57
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A239A9

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

Preview Lab → · Contrast checker → · Palette generator →

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