#A237B1#A237B1

#A237B1 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.0% C 0.201 H 322.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A237B1
RGBrgb(162, 55, 177)
HSLhsl(293, 53%, 45%)
HSVhsv(293, 69%, 69%)
CMYKcmyk(8.5%, 68.9%, 0%, 30.6%)
CIE-LABlab(43.64, 59.85, -43.84)
CIE-LCHlch(43.64, 74.19, 323.78°)
OKLaboklab(54.01% 0.1595 -0.1223)
OKLCHoklch(54.01% 0.201 322.5)
XYZxyz(24.2015, 13.5894, 42.9347)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237B1 #46B137
analogous
#6537B1 #A237B1 #B13783
triadic
#A237B1 #B1A237 #37B1A2
tetradic
#A237B1 #B16537 #46B137 #3783B1
square
#A237B1 #B16537 #46B137 #3783B1
split-complementary
#A237B1 #83B137 #37B165
monochromatic
#4D1A54 #772882 #A237B1 #BE5ACC #D088DA

Accessibility & contrast

On white

5.65
#A237B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A237B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237B1
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237B1#FFFFFF#000000##FFFFFF
##A237B11.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105FB5
Deuteranopia (green-blind)
#486BAE
Tritanopia (blue-blind)
#A44C70
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a237b1;
/* rgb */ color: rgb(162, 55, 177);
/* oklch */ color: oklch(54.0% 0.201 322.5);
Tailwind
colors: {
  custom: {
    50: '#c177c9',
    500: '#a237b1',
    950: '#000000',
  },
}
SCSS
$custom: #a237b1;
$custom-light: #c177c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a237b1",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 292.623,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54011,
    "c": 0.20098,
    "h": 322.5
  },
  "luminance": 0.13588
}

Semantic roles & 50–950 ramp

primary
#A237B1
secondary
#88C480
accent
#DC4C5E
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A237B1

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

Preview Lab → · Contrast checker → · Palette generator →

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