#A237B8#A237B8

#A237B8 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.4% C 0.207 H 320.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A237B8
RGBrgb(162, 55, 184)
HSLhsl(290, 54%, 47%)
HSVhsv(290, 70%, 72%)
CMYKcmyk(12%, 70.1%, 0%, 27.8%)
CIE-LABlab(44.05, 61.15, -47.29)
CIE-LCHlch(44.05, 77.30, 322.28°)
OKLaboklab(54.44% 0.1593 -0.1323)
OKLCHoklch(54.44% 0.207 320.3)
XYZxyz(24.9172, 13.8757, 46.7039)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237B8 #4DB837
analogous
#6137B8 #A237B8 #B8378E
triadic
#A237B8 #B8A237 #37B8A2
tetradic
#A237B8 #B86137 #4DB837 #378EB8
square
#A237B8 #B86137 #4DB837 #378EB8
split-complementary
#A237B8 #8EB837 #37B861
monochromatic
#4F1B5A #792989 #A237B8 #BB5DCF #CF8DDD

Accessibility & contrast

On white

5.56
#A237B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A237B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237B8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237B8#FFFFFF#000000##FFFFFF
##A237B81.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#436CB5
Tritanopia (blue-blind)
#A34F74
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a237b8;
/* rgb */ color: rgb(162, 55, 184);
/* oklch */ color: oklch(54.4% 0.207 320.3);
Tailwind
colors: {
  custom: {
    50: '#c177ce',
    500: '#a237b8',
    950: '#000000',
  },
}
SCSS
$custom: #a237b8;
$custom-light: #c177ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a237b8",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 289.767,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54442,
    "c": 0.20708,
    "h": 320.3
  },
  "luminance": 0.13874
}

Semantic roles & 50–950 ramp

primary
#A237B8
secondary
#8FC784
accent
#DD4A64
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A237B8

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

Preview Lab → · Contrast checker → · Palette generator →

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