#A237AA#A237AA

#A237AA is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.6% C 0.195 H 324.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A237AA
RGBrgb(162, 55, 170)
HSLhsl(296, 51%, 44%)
HSVhsv(296, 68%, 67%)
CMYKcmyk(4.7%, 67.6%, 0%, 33.3%)
CIE-LABlab(43.24, 58.58, -40.33)
CIE-LCHlch(43.24, 71.12, 325.45°)
OKLaboklab(53.59% 0.1596 -0.112)
OKLCHoklch(53.59% 0.195 324.9)
XYZxyz(23.5216, 13.3175, 39.3540)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237AA #3FAA37
analogous
#6937AA #A237AA #AA3779
triadic
#A237AA #AAA237 #37AAA2
tetradic
#A237AA #AA6937 #3FAA37 #3779AA
square
#A237AA #AA6937 #3FAA37 #3779AA
split-complementary
#A237AA #79AA37 #37AA69
monochromatic
#4A194E #76287C #A237AA #C056C8 #D184D7

Accessibility & contrast

On white

5.73
#A237AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A237AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237AA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237AA#FFFFFF#000000##FFFFFF
##A237AA1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5EAD
Deuteranopia (green-blind)
#4D6BA7
Tritanopia (blue-blind)
#A6496C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a237aa;
/* rgb */ color: rgb(162, 55, 170);
/* oklch */ color: oklch(53.6% 0.195 324.9);
Tailwind
colors: {
  custom: {
    50: '#c177c4',
    500: '#a237aa',
    950: '#000000',
  },
}
SCSS
$custom: #a237aa;
$custom-light: #c177c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a237aa",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 295.826,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53594,
    "c": 0.19498,
    "h": 324.9
  },
  "luminance": 0.13316
}

Semantic roles & 50–950 ramp

primary
#A237AA
secondary
#81C17C
accent
#DB4D57
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A237AA

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

Preview Lab → · Contrast checker → · Palette generator →

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