#9237A7#9237A7

#9237A7 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.185 H 319.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9237A7
RGBrgb(146, 55, 167)
HSLhsl(289, 50%, 44%)
HSVhsv(289, 67%, 65%)
CMYKcmyk(12.6%, 67.1%, 0%, 34.5%)
CIE-LABlab(40.63, 54.27, -42.85)
CIE-LCHlch(40.63, 69.14, 321.71°)
OKLaboklab(51.17% 0.1406 -0.1198)
OKLCHoklch(51.17% 0.185 319.6)
XYZxyz(20.1944, 11.6343, 37.7336)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237A7 #4CA737
analogous
#5A37A7 #9237A7 #A73784
triadic
#9237A7 #A79237 #37A792
tetradic
#9237A7 #A75A37 #4CA737 #3784A7
square
#9237A7 #A75A37 #4CA737 #3784A7
split-complementary
#9237A7 #84A737 #37A75A
monochromatic
#42194B #6A2879 #9237A7 #B154C7 #C682D6

Accessibility & contrast

On white

6.31
#9237A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9237A7#FFFFFF#000000##FFFFFF
##9237A71.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5AAA
Deuteranopia (green-blind)
#3F63A4
Tritanopia (blue-blind)
#924B6A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9237a7;
/* rgb */ color: rgb(146, 55, 167);
/* oklch */ color: oklch(51.2% 0.185 319.6);
Tailwind
colors: {
  custom: {
    50: '#b575c2',
    500: '#9237a7',
    950: '#000000',
  },
}
SCSS
$custom: #9237a7;
$custom-light: #b575c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9237a7",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 288.75,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51171,
    "c": 0.18477,
    "h": 319.6
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#9237A7
secondary
#87C07A
accent
#DA4E68
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9237A7

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

Preview Lab → · Contrast checker → · Palette generator →

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