#A237A2#A237A2

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

Color values

HEX#A237A2
RGBrgb(162, 55, 162)
HSLhsl(300, 49%, 43%)
HSVhsv(300, 66%, 64%)
CMYKcmyk(0%, 66%, 0%, 36.5%)
CIE-LABlab(42.80, 57.17, -36.26)
CIE-LCHlch(42.80, 67.70, 327.62°)
OKLaboklab(53.14% 0.1594 -0.1002)
OKLCHoklch(53.14% 0.188 327.8)
XYZxyz(22.7878, 13.0239, 35.4890)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237A2 #37A237
analogous
#6C37A2 #A237A2 #A2376C
triadic
#A237A2 #A2A237 #37A2A2
tetradic
#A237A2 #A26C37 #37A237 #376CA2
square
#A237A2 #A26C37 #37A237 #376CA2
split-complementary
#A237A2 #6CA237 #37A26C
monochromatic
#471847 #742774 #A237A2 #C452C4 #D480D4

Accessibility & contrast

On white

5.83
#A237A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A237A2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237A2#FFFFFF#000000##FFFFFF
##A237A21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA5
Deuteranopia (green-blind)
#516A9F
Tritanopia (blue-blind)
#A74668
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a237a2;
/* rgb */ color: rgb(162, 55, 162);
/* oklch */ color: oklch(53.1% 0.188 327.8);
Tailwind
colors: {
  custom: {
    50: '#c176be',
    500: '#a237a2',
    950: '#000000',
  },
}
SCSS
$custom: #a237a2;
$custom-light: #c176be;
$custom-dark: #000000;
JSON
{
  "hex": "#a237a2",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53136,
    "c": 0.18826,
    "h": 327.8
  },
  "luminance": 0.13022
}

Semantic roles & 50–950 ramp

primary
#A237A2
secondary
#78BD78
accent
#D94F4F
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A237A2

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

Preview Lab → · Contrast checker → · Palette generator →

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