#A237BA#A237BA

#A237BA is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.209 H 319.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A237BA
RGBrgb(162, 55, 186)
HSLhsl(289, 54%, 47%)
HSVhsv(289, 70%, 73%)
CMYKcmyk(12.9%, 70.4%, 0%, 27.1%)
CIE-LABlab(44.18, 61.53, -48.27)
CIE-LCHlch(44.18, 78.20, 321.89°)
OKLaboklab(54.57% 0.1592 -0.1352)
OKLCHoklch(54.57% 0.209 319.6)
XYZxyz(25.1283, 13.9602, 47.8158)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237BA #4FBA37
analogous
#6137BA #A237BA #BA3790
triadic
#A237BA #BAA237 #37BAA2
tetradic
#A237BA #BA6137 #4FBA37 #3790BA
square
#A237BA #BA6137 #4FBA37 #3790BA
split-complementary
#A237BA #90BA37 #37BA61
monochromatic
#501B5C #79298B #A237BA #BB5FD0 #CF8EDE

Accessibility & contrast

On white

5.54
#A237BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A237BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237BA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237BA#FFFFFF#000000##FFFFFF
##A237BA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#416CB7
Tritanopia (blue-blind)
#A25075
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a237ba;
/* rgb */ color: rgb(162, 55, 186);
/* oklch */ color: oklch(54.6% 0.209 319.6);
Tailwind
colors: {
  custom: {
    50: '#c177cf',
    500: '#a237ba',
    950: '#000000',
  },
}
SCSS
$custom: #a237ba;
$custom-light: #c177cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a237ba",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 289.008,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54568,
    "c": 0.20883,
    "h": 319.6
  },
  "luminance": 0.13959
}

Semantic roles & 50–950 ramp

primary
#A237BA
secondary
#91C885
accent
#DE4A65
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A237BA

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

Preview Lab → · Contrast checker → · Palette generator →

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