#A237A4#A237A4

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

Color values

HEX#A237A4
RGBrgb(162, 55, 164)
HSLhsl(299, 50%, 43%)
HSVhsv(299, 66%, 64%)
CMYKcmyk(1.2%, 66.5%, 0%, 35.7%)
CIE-LABlab(42.91, 57.52, -37.28)
CIE-LCHlch(42.91, 68.55, 327.05°)
OKLaboklab(53.25% 0.1594 -0.1032)
OKLCHoklch(53.25% 0.19 327.1)
XYZxyz(22.9669, 13.0956, 36.4328)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237A4 #39A437
analogous
#6B37A4 #A237A4 #A4376F
triadic
#A237A4 #A4A237 #37A4A2
tetradic
#A237A4 #A46B37 #39A437 #376FA4
square
#A237A4 #A46B37 #39A437 #376FA4
split-complementary
#A237A4 #6FA437 #37A46B
monochromatic
#471848 #752876 #A237A4 #C353C5 #D381D5

Accessibility & contrast

On white

5.80
#A237A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A237A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237A4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237A4#FFFFFF#000000##FFFFFF
##A237A41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265DA7
Deuteranopia (green-blind)
#506AA1
Tritanopia (blue-blind)
#A74669
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a237a4;
/* rgb */ color: rgb(162, 55, 164);
/* oklch */ color: oklch(53.2% 0.190 327.1);
Tailwind
colors: {
  custom: {
    50: '#c177bf',
    500: '#a237a4',
    950: '#000000',
  },
}
SCSS
$custom: #a237a4;
$custom-light: #c177bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a237a4",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 298.899,
    "s": 49.772,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53249,
    "c": 0.18992,
    "h": 327.1
  },
  "luminance": 0.13094
}

Semantic roles & 50–950 ramp

primary
#A237A4
secondary
#7ABE79
accent
#D94F51
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A237A4

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

Preview Lab → · Contrast checker → · Palette generator →

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