#A237A8#A237A8

#A237A8 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.5% C 0.193 H 325.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A237A8
RGBrgb(162, 55, 168)
HSLhsl(297, 51%, 44%)
HSVhsv(297, 67%, 66%)
CMYKcmyk(3.6%, 67.3%, 0%, 34.1%)
CIE-LABlab(43.13, 58.22, -39.32)
CIE-LCHlch(43.13, 70.26, 325.97°)
OKLaboklab(53.48% 0.1595 -0.1091)
OKLCHoklch(53.48% 0.193 325.6)
XYZxyz(23.3339, 13.2424, 38.3652)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237A8 #3DA837
analogous
#6937A8 #A237A8 #A83775
triadic
#A237A8 #A8A237 #37A8A2
tetradic
#A237A8 #A86937 #3DA837 #3775A8
square
#A237A8 #A86937 #3DA837 #3775A8
split-complementary
#A237A8 #75A837 #37A869
monochromatic
#49194C #76287A #A237A8 #C155C7 #D283D6

Accessibility & contrast

On white

5.76
#A237A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A237A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237A8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237A8#FFFFFF#000000##FFFFFF
##A237A81.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215DAB
Deuteranopia (green-blind)
#4E6AA5
Tritanopia (blue-blind)
#A6486B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a237a8;
/* rgb */ color: rgb(162, 55, 168);
/* oklch */ color: oklch(53.5% 0.193 325.6);
Tailwind
colors: {
  custom: {
    50: '#c177c2',
    500: '#a237a8',
    950: '#000000',
  },
}
SCSS
$custom: #a237a8;
$custom-light: #c177c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a237a8",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 168
  },
  "hsl": {
    "h": 296.814,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53478,
    "c": 0.19328,
    "h": 325.6
  },
  "luminance": 0.13241
}

Semantic roles & 50–950 ramp

primary
#A237A8
secondary
#7EC07B
accent
#DA4E55
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A237A8

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

Preview Lab → · Contrast checker → · Palette generator →

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