#A239AA#A239AA

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

Color values

HEX#A239AA
RGBrgb(162, 57, 170)
HSLhsl(296, 50%, 45%)
HSVhsv(296, 66%, 67%)
CMYKcmyk(4.7%, 66.5%, 0%, 33.3%)
CIE-LABlab(43.52, 57.78, -39.88)
CIE-LCHlch(43.52, 70.20, 325.39°)
OKLaboklab(53.8% 0.1573 -0.1107)
OKLCHoklch(53.8% 0.192 324.9)
XYZxyz(23.6185, 13.5113, 39.3863)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239AA #41AA39
analogous
#6A39AA #A239AA #AA397A
triadic
#A239AA #AAA239 #39AAA2
tetradic
#A239AA #AA6A39 #41AA39 #397AAA
square
#A239AA #AA6A39 #41AA39 #397AAA
split-complementary
#A239AA #7AAA39 #39AA6A
monochromatic
#4B1A4E #762A7C #A239AA #BF59C7 #D187D7

Accessibility & contrast

On white

5.67
#A239AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A239AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239AA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239AA#FFFFFF#000000##FFFFFF
##A239AA1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225FAD
Deuteranopia (green-blind)
#4E6BA7
Tritanopia (blue-blind)
#A54A6D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a239aa;
/* rgb */ color: rgb(162, 57, 170);
/* oklch */ color: oklch(53.8% 0.192 324.9);
Tailwind
colors: {
  custom: {
    50: '#c178c4',
    500: '#a239aa',
    950: '#000000',
  },
}
SCSS
$custom: #a239aa;
$custom-light: #c178c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a239aa",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 295.752,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.538,
    "c": 0.19241,
    "h": 324.9
  },
  "luminance": 0.1351
}

Semantic roles & 50–950 ramp

primary
#A239AA
secondary
#83C17E
accent
#D94E58
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A239AA

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

Preview Lab → · Contrast checker → · Palette generator →

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