#A237A3#A237A3

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

Color values

HEX#A237A3
RGBrgb(162, 55, 163)
HSLhsl(299, 50%, 43%)
HSVhsv(299, 66%, 64%)
CMYKcmyk(0.6%, 66.3%, 0%, 36.1%)
CIE-LABlab(42.85, 57.34, -36.77)
CIE-LCHlch(42.85, 68.12, 327.33°)
OKLaboklab(53.19% 0.1594 -0.1017)
OKLCHoklch(53.19% 0.189 327.5)
XYZxyz(22.8770, 13.0596, 35.9590)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237A3 #38A337
analogous
#6C37A3 #A237A3 #A3376E
triadic
#A237A3 #A3A237 #37A3A2
tetradic
#A237A3 #A36C37 #38A337 #376EA3
square
#A237A3 #A36C37 #38A337 #376EA3
split-complementary
#A237A3 #6EA337 #37A36C
monochromatic
#471847 #752875 #A237A3 #C452C5 #D380D4

Accessibility & contrast

On white

5.81
#A237A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A237A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237A3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237A3#FFFFFF#000000##FFFFFF
##A237A31.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275CA6
Deuteranopia (green-blind)
#516AA0
Tritanopia (blue-blind)
#A74668
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a237a3;
/* rgb */ color: rgb(162, 55, 163);
/* oklch */ color: oklch(53.2% 0.189 327.5);
Tailwind
colors: {
  custom: {
    50: '#c177bf',
    500: '#a237a3',
    950: '#000000',
  },
}
SCSS
$custom: #a237a3;
$custom-light: #c177bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a237a3",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 299.444,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53192,
    "c": 0.18908,
    "h": 327.5
  },
  "luminance": 0.13058
}

Semantic roles & 50–950 ramp

primary
#A237A3
secondary
#79BE78
accent
#D94F50
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A237A3

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

Preview Lab → · Contrast checker → · Palette generator →

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