#9237A8#9237A8

#9237A8 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.2% C 0.186 H 319.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9237A8
RGBrgb(146, 55, 168)
HSLhsl(288, 51%, 44%)
HSVhsv(288, 67%, 66%)
CMYKcmyk(13.1%, 67.3%, 0%, 34.1%)
CIE-LABlab(40.69, 54.46, -43.35)
CIE-LCHlch(40.69, 69.61, 321.48°)
OKLaboklab(51.23% 0.1406 -0.1213)
OKLCHoklch(51.23% 0.186 319.2)
XYZxyz(20.2872, 11.6715, 38.2224)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237A8 #4DA837
analogous
#5937A8 #9237A8 #A83785
triadic
#9237A8 #A89237 #37A892
tetradic
#9237A8 #A85937 #4DA837 #3785A8
square
#9237A8 #A85937 #4DA837 #3785A8
split-complementary
#9237A8 #85A837 #37A859
monochromatic
#42194C #6A287A #9237A8 #B155C7 #C683D6

Accessibility & contrast

On white

6.30
#9237A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9237A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9237A8#FFFFFF#000000##FFFFFF
##9237A81.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5AAB
Deuteranopia (green-blind)
#3F63A5
Tritanopia (blue-blind)
#924B6B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9237a8;
/* rgb */ color: rgb(146, 55, 168);
/* oklch */ color: oklch(51.2% 0.186 319.2);
Tailwind
colors: {
  custom: {
    50: '#b575c2',
    500: '#9237a8',
    950: '#000000',
  },
}
SCSS
$custom: #9237a8;
$custom-light: #b575c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9237a8",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 168
  },
  "hsl": {
    "h": 288.319,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51234,
    "c": 0.18571,
    "h": 319.2
  },
  "luminance": 0.11671
}

Semantic roles & 50–950 ramp

primary
#9237A8
secondary
#88C07B
accent
#DA4E69
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9237A8

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

Preview Lab → · Contrast checker → · Palette generator →

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