#A237B7#A237B7

#A237B7 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.206 H 320.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A237B7
RGBrgb(162, 55, 183)
HSLhsl(290, 54%, 47%)
HSVhsv(290, 70%, 72%)
CMYKcmyk(11.5%, 69.9%, 0%, 28.2%)
CIE-LABlab(43.99, 60.96, -46.80)
CIE-LCHlch(43.99, 76.86, 322.49°)
OKLaboklab(54.38% 0.1593 -0.1309)
OKLCHoklch(54.38% 0.206 320.6)
XYZxyz(24.8127, 13.8339, 46.1538)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237B7 #4CB737
analogous
#6237B7 #A237B7 #B7378C
triadic
#A237B7 #B7A237 #37B7A2
tetradic
#A237B7 #B76237 #4CB737 #378CB7
square
#A237B7 #B76237 #4CB737 #378CB7
split-complementary
#A237B7 #8CB737 #37B762
monochromatic
#4F1B59 #782988 #A237B7 #BC5DCE #CF8CDC

Accessibility & contrast

On white

5.58
#A237B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A237B7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237B7#FFFFFF#000000##FFFFFF
##A237B71.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#446CB4
Tritanopia (blue-blind)
#A34E73
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a237b7;
/* rgb */ color: rgb(162, 55, 183);
/* oklch */ color: oklch(54.4% 0.206 320.6);
Tailwind
colors: {
  custom: {
    50: '#c177cd',
    500: '#a237b7',
    950: '#000000',
  },
}
SCSS
$custom: #a237b7;
$custom-light: #c177cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a237b7",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 290.156,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5438,
    "c": 0.2062,
    "h": 320.6
  },
  "luminance": 0.13833
}

Semantic roles & 50–950 ramp

primary
#A237B7
secondary
#8EC783
accent
#DD4B63
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A237B7

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

Preview Lab → · Contrast checker → · Palette generator →

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