#A239B9#A239B9

#A239B9 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.7% C 0.206 H 319.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#A239B9
RGBrgb(162, 57, 185)
HSLhsl(289, 53%, 47%)
HSVhsv(289, 69%, 73%)
CMYKcmyk(12.4%, 69.2%, 0%, 27.5%)
CIE-LABlab(44.39, 60.56, -47.34)
CIE-LCHlch(44.39, 76.86, 321.99°)
OKLaboklab(54.7% 0.1571 -0.1325)
OKLCHoklch(54.7% 0.206 319.9)
XYZxyz(25.1193, 14.1116, 47.2902)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239B9 #50B939
analogous
#6239B9 #A239B9 #B93990
triadic
#A239B9 #B9A239 #39B9A2
tetradic
#A239B9 #B96239 #50B939 #3990B9
square
#A239B9 #B96239 #50B939 #3990B9
split-complementary
#A239B9 #90B939 #39B962
monochromatic
#501C5B #792B8A #A239B9 #BB61CE #CF90DD

Accessibility & contrast

On white

5.49
#A239B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#A239B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239B9
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239B9#FFFFFF#000000##FFFFFF
##A239B91.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BD
Deuteranopia (green-blind)
#446DB6
Tritanopia (blue-blind)
#A25175
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a239b9;
/* rgb */ color: rgb(162, 57, 185);
/* oklch */ color: oklch(54.7% 0.206 319.9);
Tailwind
colors: {
  custom: {
    50: '#c178cf',
    500: '#a239b9',
    950: '#000000',
  },
}
SCSS
$custom: #a239b9;
$custom-light: #c178cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a239b9",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 289.219,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54704,
    "c": 0.20554,
    "h": 319.9
  },
  "luminance": 0.1411
}

Semantic roles & 50–950 ramp

primary
#A239B9
secondary
#92C886
accent
#DC4B66
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A239B9

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

Preview Lab → · Contrast checker → · Palette generator →

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