#A237A7#A237A7

#A237A7 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.4% C 0.192 H 326.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A237A7
RGBrgb(162, 55, 167)
HSLhsl(297, 50%, 44%)
HSVhsv(297, 67%, 65%)
CMYKcmyk(3%, 67.1%, 0%, 34.5%)
CIE-LABlab(43.07, 58.05, -38.81)
CIE-LCHlch(43.07, 69.83, 326.23°)
OKLaboklab(53.42% 0.1595 -0.1076)
OKLCHoklch(53.42% 0.192 326)
XYZxyz(23.2411, 13.2053, 37.8765)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237A7 #3CA737
analogous
#6A37A7 #A237A7 #A73774
triadic
#A237A7 #A7A237 #37A7A2
tetradic
#A237A7 #A76A37 #3CA737 #3774A7
square
#A237A7 #A76A37 #3CA737 #3774A7
split-complementary
#A237A7 #74A737 #37A76A
monochromatic
#49194B #752879 #A237A7 #C254C7 #D282D6

Accessibility & contrast

On white

5.77
#A237A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A237A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237A7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237A7#FFFFFF#000000##FFFFFF
##A237A71.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225DAA
Deuteranopia (green-blind)
#4F6AA4
Tritanopia (blue-blind)
#A6486A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a237a7;
/* rgb */ color: rgb(162, 55, 167);
/* oklch */ color: oklch(53.4% 0.192 326.0);
Tailwind
colors: {
  custom: {
    50: '#c177c1',
    500: '#a237a7',
    950: '#000000',
  },
}
SCSS
$custom: #a237a7;
$custom-light: #c177c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a237a7",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 297.321,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5342,
    "c": 0.19244,
    "h": 326
  },
  "luminance": 0.13204
}

Semantic roles & 50–950 ramp

primary
#A237A7
secondary
#7DC07A
accent
#DA4E54
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A237A7

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

Preview Lab → · Contrast checker → · Palette generator →

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