#A237C2#A237C2

#A237C2 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.216 H 317.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#A237C2
RGBrgb(162, 55, 194)
HSLhsl(286, 56%, 49%)
HSVhsv(286, 72%, 76%)
CMYKcmyk(16.5%, 71.6%, 0%, 23.9%)
CIE-LABlab(44.67, 63.06, -52.14)
CIE-LCHlch(44.67, 81.82, 320.41°)
OKLaboklab(55.08% 0.1586 -0.1466)
OKLCHoklch(55.08% 0.216 317.3)
XYZxyz(26.0027, 14.3099, 52.4209)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237C2 #57C237
analogous
#5D37C2 #A237C2 #C2379D
triadic
#A237C2 #C2A237 #37C2A2
tetradic
#A237C2 #C25D37 #57C237 #379DC2
square
#A237C2 #C25D37 #57C237 #379DC2
split-complementary
#A237C2 #9DC237 #37C25D
monochromatic
#521C63 #7A2992 #A237C2 #B963D3 #CF93E0

Accessibility & contrast

On white

5.44
#A237C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#A237C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237C2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237C2#FFFFFF#000000##FFFFFF
##A237C21.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#3A6DBF
Tritanopia (blue-blind)
#A15379
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a237c2;
/* rgb */ color: rgb(162, 55, 194);
/* oklch */ color: oklch(55.1% 0.216 317.3);
Tailwind
colors: {
  custom: {
    50: '#c178d5',
    500: '#a237c2',
    950: '#000000',
  },
}
SCSS
$custom: #a237c2;
$custom-light: #c178d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a237c2",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 286.187,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55083,
    "c": 0.21591,
    "h": 317.3
  },
  "luminance": 0.14309
}

Semantic roles & 50–950 ramp

primary
#A237C2
secondary
#99CB89
accent
#DF496B
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A237C2

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

Preview Lab → · Contrast checker → · Palette generator →

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