#9237AC#9237AC

#9237AC is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.189 H 317.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9237AC
RGBrgb(146, 55, 172)
HSLhsl(287, 52%, 45%)
HSVhsv(287, 68%, 67%)
CMYKcmyk(15.1%, 68%, 0%, 32.5%)
CIE-LABlab(40.93, 55.26, -45.34)
CIE-LCHlch(40.93, 71.47, 320.63°)
OKLaboklab(51.49% 0.1405 -0.1271)
OKLCHoklch(51.49% 0.189 317.9)
XYZxyz(20.6656, 11.8228, 40.2152)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237AC #51AC37
analogous
#5837AC #9237AC #AC378C
triadic
#9237AC #AC9237 #37AC92
tetradic
#9237AC #AC5837 #51AC37 #378CAC
square
#9237AC #AC5837 #51AC37 #378CAC
split-complementary
#9237AC #8CAC37 #37AC58
monochromatic
#43194F #6B287E #9237AC #B057C9 #C685D8

Accessibility & contrast

On white

6.24
#9237AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9237AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9237AC#FFFFFF#000000##FFFFFF
##9237AC1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#3B63A9
Tritanopia (blue-blind)
#914D6D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9237ac;
/* rgb */ color: rgb(146, 55, 172);
/* oklch */ color: oklch(51.5% 0.189 317.9);
Tailwind
colors: {
  custom: {
    50: '#b575c5',
    500: '#9237ac',
    950: '#000000',
  },
}
SCSS
$custom: #9237ac;
$custom-light: #b575c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9237ac",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 286.667,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51487,
    "c": 0.18945,
    "h": 317.9
  },
  "luminance": 0.11822
}

Semantic roles & 50–950 ramp

primary
#9237AC
secondary
#8CC27D
accent
#DB4D6C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9237AC

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

Preview Lab → · Contrast checker → · Palette generator →

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