#A237C1#A237C1

#A237C1 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.215 H 317.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A237C1
RGBrgb(162, 55, 193)
HSLhsl(287, 56%, 49%)
HSVhsv(287, 72%, 76%)
CMYKcmyk(16.1%, 71.5%, 0%, 24.3%)
CIE-LABlab(44.61, 62.87, -51.66)
CIE-LCHlch(44.61, 81.37, 320.59°)
OKLaboklab(55.02% 0.1586 -0.1451)
OKLCHoklch(55.02% 0.215 317.5)
XYZxyz(25.8907, 14.2651, 51.8314)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237C1 #56C137
analogous
#5D37C1 #A237C1 #C1379B
triadic
#A237C1 #C1A237 #37C1A2
tetradic
#A237C1 #C15D37 #56C137 #379BC1
square
#A237C1 #C15D37 #56C137 #379BC1
split-complementary
#A237C1 #9BC137 #37C15D
monochromatic
#521C62 #7A2991 #A237C1 #B963D2 #CF92E0

Accessibility & contrast

On white

5.45
#A237C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A237C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237C1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237C1#FFFFFF#000000##FFFFFF
##A237C11.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#3B6DBE
Tritanopia (blue-blind)
#A15379
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a237c1;
/* rgb */ color: rgb(162, 55, 193);
/* oklch */ color: oklch(55.0% 0.215 317.5);
Tailwind
colors: {
  custom: {
    50: '#c178d4',
    500: '#a237c1',
    950: '#000000',
  },
}
SCSS
$custom: #a237c1;
$custom-light: #c178d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a237c1",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 286.522,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55018,
    "c": 0.21502,
    "h": 317.5
  },
  "luminance": 0.14264
}

Semantic roles & 50–950 ramp

primary
#A237C1
secondary
#98CB89
accent
#DF496B
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A237C1

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

Preview Lab → · Contrast checker → · Palette generator →

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