#A239BA#A239BA

#A239BA is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.8% C 0.206 H 319.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#A239BA
RGBrgb(162, 57, 186)
HSLhsl(289, 53%, 48%)
HSVhsv(289, 69%, 73%)
CMYKcmyk(12.9%, 69.4%, 0%, 27.1%)
CIE-LABlab(44.45, 60.75, -47.82)
CIE-LCHlch(44.45, 77.31, 321.79°)
OKLaboklab(54.77% 0.1571 -0.1339)
OKLCHoklch(54.77% 0.206 319.5)
XYZxyz(25.2252, 14.1540, 47.8481)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239BA #51BA39
analogous
#6139BA #A239BA #BA3992
triadic
#A239BA #BAA239 #39BAA2
tetradic
#A239BA #BA6139 #51BA39 #3992BA
square
#A239BA #BA6139 #51BA39 #3992BA
split-complementary
#A239BA #92BA39 #39BA61
monochromatic
#501C5C #792B8B #A239BA #BA61CF #CF90DD

Accessibility & contrast

On white

5.48
#A239BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#A239BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239BA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239BA#FFFFFF#000000##FFFFFF
##A239BA1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#436DB7
Tritanopia (blue-blind)
#A25175
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a239ba;
/* rgb */ color: rgb(162, 57, 186);
/* oklch */ color: oklch(54.8% 0.206 319.5);
Tailwind
colors: {
  custom: {
    50: '#c178cf',
    500: '#a239ba',
    950: '#000000',
  },
}
SCSS
$custom: #a239ba;
$custom-light: #c178cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a239ba",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 288.837,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54767,
    "c": 0.20643,
    "h": 319.5
  },
  "luminance": 0.14153
}

Semantic roles & 50–950 ramp

primary
#A239BA
secondary
#93C887
accent
#DC4B66
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A239BA

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

Preview Lab → · Contrast checker → · Palette generator →

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