#A237C7#A237C7

#A237C7 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.4% C 0.220 H 315.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A237C7
RGBrgb(162, 55, 199)
HSLhsl(285, 57%, 50%)
HSVhsv(285, 72%, 78%)
CMYKcmyk(18.6%, 72.4%, 0%, 22%)
CIE-LABlab(45.00, 64.03, -54.53)
CIE-LCHlch(45.00, 84.11, 319.58°)
OKLaboklab(55.41% 0.158 -0.1536)
OKLCHoklch(55.41% 0.22 315.8)
XYZxyz(26.5737, 14.5383, 55.4281)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237C7 #5CC737
analogous
#5A37C7 #A237C7 #C737A4
triadic
#A237C7 #C7A237 #37C7A2
tetradic
#A237C7 #C75A37 #5CC737 #37A4C7
square
#A237C7 #C75A37 #5CC737 #37A4C7
split-complementary
#A237C7 #A4C737 #37C75A
monochromatic
#541C67 #7B2A97 #A237C7 #B866D5 #CF96E2

Accessibility & contrast

On white

5.37
#A237C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#A237C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237C7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237C7#FFFFFF#000000##FFFFFF
##A237C71.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#356DC4
Tritanopia (blue-blind)
#9F557C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a237c7;
/* rgb */ color: rgb(162, 55, 199);
/* oklch */ color: oklch(55.4% 0.220 315.8);
Tailwind
colors: {
  custom: {
    50: '#c278d9',
    500: '#a237c7',
    950: '#000000',
  },
}
SCSS
$custom: #a237c7;
$custom-light: #c278d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a237c7",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 284.583,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55414,
    "c": 0.22036,
    "h": 315.8
  },
  "luminance": 0.14537
}

Semantic roles & 50–950 ramp

primary
#A237C7
secondary
#9DCD8C
accent
#E0486F
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A15
muted
#827C83

Preview Lab

Preview with #A237C7

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

Preview Lab → · Contrast checker → · Palette generator →

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