#A237B4#A237B4

#A237B4 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.2% C 0.204 H 321.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A237B4
RGBrgb(162, 55, 180)
HSLhsl(291, 53%, 46%)
HSVhsv(291, 69%, 71%)
CMYKcmyk(10%, 69.4%, 0%, 29.4%)
CIE-LABlab(43.81, 60.40, -45.32)
CIE-LCHlch(43.81, 75.52, 323.12°)
OKLaboklab(54.19% 0.1594 -0.1266)
OKLCHoklch(54.19% 0.204 321.5)
XYZxyz(24.5038, 13.7104, 44.5268)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237B4 #49B437
analogous
#6337B4 #A237B4 #B43787
triadic
#A237B4 #B4A237 #37B4A2
tetradic
#A237B4 #B46337 #49B437 #3787B4
square
#A237B4 #B46337 #49B437 #3787B4
split-complementary
#A237B4 #87B437 #37B463
monochromatic
#4E1A56 #782985 #A237B4 #BD5BCD #D08ADB

Accessibility & contrast

On white

5.61
#A237B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A237B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237B4
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237B4#FFFFFF#000000##FFFFFF
##A237B41.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0660B8
Deuteranopia (green-blind)
#466CB1
Tritanopia (blue-blind)
#A44D72
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a237b4;
/* rgb */ color: rgb(162, 55, 180);
/* oklch */ color: oklch(54.2% 0.204 321.5);
Tailwind
colors: {
  custom: {
    50: '#c177cb',
    500: '#a237b4',
    950: '#000000',
  },
}
SCSS
$custom: #a237b4;
$custom-light: #c177cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a237b4",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 291.36,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54194,
    "c": 0.20359,
    "h": 321.5
  },
  "luminance": 0.13709
}

Semantic roles & 50–950 ramp

primary
#A237B4
secondary
#8BC681
accent
#DD4B60
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A237B4

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

Preview Lab → · Contrast checker → · Palette generator →

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