#A237AB#A237AB

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

Color values

HEX#A237AB
RGBrgb(162, 55, 171)
HSLhsl(295, 51%, 44%)
HSVhsv(295, 68%, 67%)
CMYKcmyk(5.3%, 67.8%, 0%, 32.9%)
CIE-LABlab(43.29, 58.76, -40.83)
CIE-LCHlch(43.29, 71.56, 325.20°)
OKLaboklab(53.65% 0.1596 -0.1135)
OKLCHoklch(53.65% 0.196 324.6)
XYZxyz(23.6166, 13.3555, 39.8541)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237AB #40AB37
analogous
#6837AB #A237AB #AB377A
triadic
#A237AB #ABA237 #37ABA2
tetradic
#A237AB #AB6837 #40AB37 #377AAB
square
#A237AB #AB6837 #40AB37 #377AAB
split-complementary
#A237AB #7AAB37 #37AB68
monochromatic
#4A194E #76287D #A237AB #C056C9 #D185D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A237AB#FFFFFF#000000##FFFFFF
##A237AB1.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)
#1C5EAE
Deuteranopia (green-blind)
#4C6BA8
Tritanopia (blue-blind)
#A5496D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a237ab;
/* rgb */ color: rgb(162, 55, 171);
/* oklch */ color: oklch(53.7% 0.196 324.6);
Tailwind
colors: {
  custom: {
    50: '#c177c4',
    500: '#a237ab',
    950: '#000000',
  },
}
SCSS
$custom: #a237ab;
$custom-light: #c177c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a237ab",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 295.345,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53653,
    "c": 0.19583,
    "h": 324.6
  },
  "luminance": 0.13354
}

Semantic roles & 50–950 ramp

primary
#A237AB
secondary
#82C17C
accent
#DB4D58
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A237AB

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

Preview Lab → · Contrast checker → · Palette generator →

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