#A239A0#A239A0

#A239A0 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.2% C 0.184 H 328.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A239A0
RGBrgb(162, 57, 160)
HSLhsl(301, 48%, 43%)
HSVhsv(301, 65%, 64%)
CMYKcmyk(0%, 64.8%, 1.2%, 36.5%)
CIE-LABlab(42.98, 56.01, -34.77)
CIE-LCHlch(42.98, 65.93, 328.17°)
OKLaboklab(53.24% 0.1569 -0.0959)
OKLCHoklch(53.24% 0.184 328.6)
XYZxyz(22.7083, 13.1473, 34.5925)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239A0 #39A23B
analogous
#6F39A2 #A239A0 #A2396B
triadic
#A239A0 #A0A239 #39A0A2
tetradic
#A239A0 #A26F39 #39A23B #396BA2
square
#A239A0 #A26F39 #39A23B #396BA2
split-complementary
#A239A0 #6BA239 #39A26F
monochromatic
#471947 #752973 #A239A0 #C355C1 #D382D2

Accessibility & contrast

On white

5.79
#A239A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A239A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239A0
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239A0#FFFFFF#000000##FFFFFF
##A239A01.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5DA3
Deuteranopia (green-blind)
#546A9D
Tritanopia (blue-blind)
#A74667
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a239a0;
/* rgb */ color: rgb(162, 57, 160);
/* oklch */ color: oklch(53.2% 0.184 328.6);
Tailwind
colors: {
  custom: {
    50: '#c177bc',
    500: '#a239a0',
    950: '#000000',
  },
}
SCSS
$custom: #a239a0;
$custom-light: #c177bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a239a0",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 160
  },
  "hsl": {
    "h": 301.143,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53235,
    "c": 0.18394,
    "h": 328.6
  },
  "luminance": 0.13146
}

Semantic roles & 50–950 ramp

primary
#A239A0
secondary
#7ABD7B
accent
#D85350
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A239A0

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

Preview Lab → · Contrast checker → · Palette generator →

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