#A237A1#A237A1

#A237A1 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.1% C 0.187 H 328.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A237A1
RGBrgb(162, 55, 161)
HSLhsl(301, 49%, 43%)
HSVhsv(301, 66%, 64%)
CMYKcmyk(0%, 66%, 0.6%, 36.5%)
CIE-LABlab(42.75, 57.00, -35.75)
CIE-LCHlch(42.75, 67.28, 327.91°)
OKLaboklab(53.08% 0.1593 -0.0987)
OKLCHoklch(53.08% 0.187 328.2)
XYZxyz(22.6992, 12.9885, 35.0228)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237A1 #37A238
analogous
#6E37A2 #A237A1 #A2376B
triadic
#A237A1 #A1A237 #37A1A2
tetradic
#A237A1 #A26E37 #37A238 #376BA2
square
#A237A1 #A26E37 #37A238 #376BA2
split-complementary
#A237A1 #6BA237 #37A26E
monochromatic
#471846 #742774 #A237A1 #C452C3 #D480D3

Accessibility & contrast

On white

5.84
#A237A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A237A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237A1
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237A1#FFFFFF#000000##FFFFFF
##A237A11.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA4
Deuteranopia (green-blind)
#526A9E
Tritanopia (blue-blind)
#A74567
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a237a1;
/* rgb */ color: rgb(162, 55, 161);
/* oklch */ color: oklch(53.1% 0.187 328.2);
Tailwind
colors: {
  custom: {
    50: '#c176bd',
    500: '#a237a1',
    950: '#000000',
  },
}
SCSS
$custom: #a237a1;
$custom-light: #c176bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a237a1",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 161
  },
  "hsl": {
    "h": 300.561,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5308,
    "c": 0.18742,
    "h": 328.2
  },
  "luminance": 0.12987
}

Semantic roles & 50–950 ramp

primary
#A237A1
secondary
#78BD78
accent
#D9504F
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A237A1

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

Preview Lab → · Contrast checker → · Palette generator →

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