#A237B5#A237B5

#A237B5 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.3% C 0.204 H 321.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#A237B5
RGBrgb(162, 55, 181)
HSLhsl(291, 53%, 46%)
HSVhsv(291, 70%, 71%)
CMYKcmyk(10.5%, 69.6%, 0%, 29%)
CIE-LABlab(43.87, 60.59, -45.82)
CIE-LCHlch(43.87, 75.96, 322.90°)
OKLaboklab(54.26% 0.1594 -0.128)
OKLCHoklch(54.26% 0.204 321.2)
XYZxyz(24.6060, 13.7513, 45.0653)
Luminance0.1375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237B5 #4AB537
analogous
#6337B5 #A237B5 #B53789
triadic
#A237B5 #B5A237 #37B5A2
tetradic
#A237B5 #B56337 #4AB537 #3789B5
square
#A237B5 #B56337 #4AB537 #3789B5
split-complementary
#A237B5 #89B537 #37B563
monochromatic
#4E1A57 #782986 #A237B5 #BC5CCD #CF8BDC

Accessibility & contrast

On white

5.60
#A237B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#A237B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237B5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237B5#FFFFFF#000000##FFFFFF
##A237B51.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0260B9
Deuteranopia (green-blind)
#456CB2
Tritanopia (blue-blind)
#A34E72
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a237b5;
/* rgb */ color: rgb(162, 55, 181);
/* oklch */ color: oklch(54.3% 0.204 321.2);
Tailwind
colors: {
  custom: {
    50: '#c177cc',
    500: '#a237b5',
    950: '#000000',
  },
}
SCSS
$custom: #a237b5;
$custom-light: #c177cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a237b5",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 290.952,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54256,
    "c": 0.20446,
    "h": 321.2
  },
  "luminance": 0.1375
}

Semantic roles & 50–950 ramp

primary
#A237B5
secondary
#8CC682
accent
#DD4B61
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A237B5

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

Preview Lab → · Contrast checker → · Palette generator →

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