#A239A6#A239A6

#A239A6 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.6% C 0.189 H 326.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A239A6
RGBrgb(162, 57, 166)
HSLhsl(298, 49%, 44%)
HSVhsv(298, 66%, 65%)
CMYKcmyk(2.4%, 65.7%, 0%, 34.9%)
CIE-LABlab(43.30, 57.06, -37.85)
CIE-LCHlch(43.30, 68.47, 326.45°)
OKLaboklab(53.57% 0.1572 -0.1048)
OKLCHoklch(53.57% 0.189 326.3)
XYZxyz(23.2459, 13.3623, 37.4238)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239A6 #3DA639
analogous
#6B39A6 #A239A6 #A63973
triadic
#A239A6 #A6A239 #39A6A2
tetradic
#A239A6 #A66B39 #3DA639 #3973A6
square
#A239A6 #A66B39 #3DA639 #3973A6
split-complementary
#A239A6 #73A639 #39A66B
monochromatic
#491A4B #762978 #A239A6 #C157C5 #D284D5

Accessibility & contrast

On white

5.72
#A239A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A239A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239A6
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239A6#FFFFFF#000000##FFFFFF
##A239A61.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275EA9
Deuteranopia (green-blind)
#506BA3
Tritanopia (blue-blind)
#A6496B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a239a6;
/* rgb */ color: rgb(162, 57, 166);
/* oklch */ color: oklch(53.6% 0.189 326.3);
Tailwind
colors: {
  custom: {
    50: '#c178c1',
    500: '#a239a6',
    950: '#000000',
  },
}
SCSS
$custom: #a239a6;
$custom-light: #c178c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a239a6",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 166
  },
  "hsl": {
    "h": 297.798,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5357,
    "c": 0.18898,
    "h": 326.3
  },
  "luminance": 0.13361
}

Semantic roles & 50–950 ramp

primary
#A239A6
secondary
#7EBF7C
accent
#D84F54
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A239A6

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

Preview Lab → · Contrast checker → · Palette generator →

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