#A239A7#A239A7

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

Color values

HEX#A239A7
RGBrgb(162, 57, 167)
HSLhsl(297, 49%, 44%)
HSVhsv(297, 66%, 65%)
CMYKcmyk(3%, 65.9%, 0%, 34.5%)
CIE-LABlab(43.36, 57.24, -38.36)
CIE-LCHlch(43.36, 68.90, 326.17°)
OKLaboklab(53.63% 0.1573 -0.1063)
OKLCHoklch(53.63% 0.19 325.9)
XYZxyz(23.3380, 13.3991, 37.9088)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239A7 #3EA739
analogous
#6B39A7 #A239A7 #A73975
triadic
#A239A7 #A7A239 #39A7A2
tetradic
#A239A7 #A76B39 #3EA739 #3975A7
square
#A239A7 #A76B39 #3EA739 #3975A7
split-complementary
#A239A7 #75A739 #39A76B
monochromatic
#491A4C #762979 #A239A7 #C157C6 #D285D5

Accessibility & contrast

On white

5.71
#A239A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A239A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239A7
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239A7#FFFFFF#000000##FFFFFF
##A239A71.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255EAA
Deuteranopia (green-blind)
#506BA4
Tritanopia (blue-blind)
#A6496B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a239a7;
/* rgb */ color: rgb(162, 57, 167);
/* oklch */ color: oklch(53.6% 0.190 325.9);
Tailwind
colors: {
  custom: {
    50: '#c178c1',
    500: '#a239a7',
    950: '#000000',
  },
}
SCSS
$custom: #a239a7;
$custom-light: #c178c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a239a7",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 167
  },
  "hsl": {
    "h": 297.273,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53627,
    "c": 0.18984,
    "h": 325.9
  },
  "luminance": 0.13398
}

Semantic roles & 50–950 ramp

primary
#A239A7
secondary
#80BF7D
accent
#D94F55
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A239A7

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

Preview Lab → · Contrast checker → · Palette generator →

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