#9237AA#9237AA

#9237AA is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.188 H 318.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9237AA
RGBrgb(146, 55, 170)
HSLhsl(287, 51%, 44%)
HSVhsv(287, 68%, 67%)
CMYKcmyk(14.1%, 67.6%, 0%, 33.3%)
CIE-LABlab(40.81, 54.86, -44.34)
CIE-LCHlch(40.81, 70.54, 321.05°)
OKLaboklab(51.36% 0.1406 -0.1242)
OKLCHoklch(51.36% 0.188 318.5)
XYZxyz(20.4750, 11.7466, 39.2112)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237AA #4FAA37
analogous
#5937AA #9237AA #AA3789
triadic
#9237AA #AA9237 #37AA92
tetradic
#9237AA #AA5937 #4FAA37 #3789AA
square
#9237AA #AA5937 #4FAA37 #3789AA
split-complementary
#9237AA #89AA37 #37AA59
monochromatic
#43194E #6A287C #9237AA #B056C8 #C684D7

Accessibility & contrast

On white

6.27
#9237AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9237AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237AA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237AA#FFFFFF#000000##FFFFFF
##9237AA1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055AAD
Deuteranopia (green-blind)
#3D63A7
Tritanopia (blue-blind)
#924C6C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9237aa;
/* rgb */ color: rgb(146, 55, 170);
/* oklch */ color: oklch(51.4% 0.188 318.5);
Tailwind
colors: {
  custom: {
    50: '#b575c4',
    500: '#9237aa',
    950: '#000000',
  },
}
SCSS
$custom: #9237aa;
$custom-light: #b575c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9237aa",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 287.478,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5136,
    "c": 0.18757,
    "h": 318.5
  },
  "luminance": 0.11746
}

Semantic roles & 50–950 ramp

primary
#9237AA
secondary
#8AC17C
accent
#DB4D6B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9237AA

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

Preview Lab → · Contrast checker → · Palette generator →

#9237AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva