#A237A5#A237A5

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

Color values

HEX#A237A5
RGBrgb(162, 55, 165)
HSLhsl(298, 50%, 43%)
HSVhsv(298, 67%, 65%)
CMYKcmyk(1.8%, 66.7%, 0%, 35.3%)
CIE-LABlab(42.96, 57.69, -37.79)
CIE-LCHlch(42.96, 68.97, 326.77°)
OKLaboklab(53.31% 0.1595 -0.1047)
OKLCHoklch(53.31% 0.191 326.7)
XYZxyz(23.0576, 13.1319, 36.9103)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237A5 #3AA537
analogous
#6B37A5 #A237A5 #A53771
triadic
#A237A5 #A5A237 #37A5A2
tetradic
#A237A5 #A56B37 #3AA537 #3771A5
square
#A237A5 #A56B37 #3AA537 #3771A5
split-complementary
#A237A5 #71A537 #37A56B
monochromatic
#481849 #752877 #A237A5 #C353C6 #D381D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A237A5#FFFFFF#000000##FFFFFF
##A237A51.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)
#255DA8
Deuteranopia (green-blind)
#506AA2
Tritanopia (blue-blind)
#A64769
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a237a5;
/* rgb */ color: rgb(162, 55, 165);
/* oklch */ color: oklch(53.3% 0.191 326.7);
Tailwind
colors: {
  custom: {
    50: '#c177c0',
    500: '#a237a5',
    950: '#000000',
  },
}
SCSS
$custom: #a237a5;
$custom-light: #c177c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a237a5",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 165
  },
  "hsl": {
    "h": 298.364,
    "s": 50,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53305,
    "c": 0.19076,
    "h": 326.7
  },
  "luminance": 0.1313
}

Semantic roles & 50–950 ramp

primary
#A237A5
secondary
#7BBF79
accent
#DA4E52
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A237A5

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

Preview Lab → · Contrast checker → · Palette generator →

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