#9237A6#9237A6

#9237A6 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.1% C 0.184 H 319.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9237A6
RGBrgb(146, 55, 166)
HSLhsl(289, 50%, 43%)
HSVhsv(289, 67%, 65%)
CMYKcmyk(12%, 66.9%, 0%, 34.9%)
CIE-LABlab(40.57, 54.07, -42.34)
CIE-LCHlch(40.57, 68.68, 321.93°)
OKLaboklab(51.11% 0.1407 -0.1184)
OKLCHoklch(51.11% 0.184 319.9)
XYZxyz(20.1023, 11.5975, 37.2487)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237A6 #4BA637
analogous
#5A37A6 #9237A6 #A63782
triadic
#9237A6 #A69237 #37A692
tetradic
#9237A6 #A65A37 #4BA637 #3782A6
square
#9237A6 #A65A37 #4BA637 #3782A6
split-complementary
#9237A6 #82A637 #37A65A
monochromatic
#41194A #6A2878 #9237A6 #B254C6 #C682D6

Accessibility & contrast

On white

6.33
#9237A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9237A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9237A6#FFFFFF#000000##FFFFFF
##9237A61.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1259A9
Deuteranopia (green-blind)
#4063A3
Tritanopia (blue-blind)
#934A6A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9237a6;
/* rgb */ color: rgb(146, 55, 166);
/* oklch */ color: oklch(51.1% 0.184 319.9);
Tailwind
colors: {
  custom: {
    50: '#b575c1',
    500: '#9237a6',
    950: '#000000',
  },
}
SCSS
$custom: #9237a6;
$custom-light: #b575c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9237a6",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 289.189,
    "s": 50.226,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51109,
    "c": 0.18385,
    "h": 319.9
  },
  "luminance": 0.11597
}

Semantic roles & 50–950 ramp

primary
#9237A6
secondary
#86BF7A
accent
#DA4E67
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9237A6

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

Preview Lab → · Contrast checker → · Palette generator →

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