#9237A1#9237A1

#9237A1 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.8% C 0.179 H 321.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9237A1
RGBrgb(146, 55, 161)
HSLhsl(292, 49%, 42%)
HSVhsv(292, 66%, 63%)
CMYKcmyk(9.3%, 65.8%, 0%, 36.9%)
CIE-LABlab(40.28, 53.10, -39.82)
CIE-LCHlch(40.28, 66.37, 323.13°)
OKLaboklab(50.8% 0.1407 -0.111)
OKLCHoklch(50.8% 0.179 321.7)
XYZxyz(19.6526, 11.4176, 34.8800)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237A1 #46A137
analogous
#5D37A1 #9237A1 #A1377B
triadic
#9237A1 #A19237 #37A192
tetradic
#9237A1 #A15D37 #46A137 #377BA1
square
#9237A1 #A15D37 #46A137 #377BA1
split-complementary
#9237A1 #7BA137 #37A15D
monochromatic
#3F1846 #692773 #9237A1 #B451C4 #C77FD3

Accessibility & contrast

On white

6.40
#9237A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9237A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9237A1#FFFFFF#000000##FFFFFF
##9237A11.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B58A4
Deuteranopia (green-blind)
#44629E
Tritanopia (blue-blind)
#944867
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9237a1;
/* rgb */ color: rgb(146, 55, 161);
/* oklch */ color: oklch(50.8% 0.179 321.7);
Tailwind
colors: {
  custom: {
    50: '#b575bd',
    500: '#9237a1',
    950: '#000000',
  },
}
SCSS
$custom: #9237a1;
$custom-light: #b575bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9237a1",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 161
  },
  "hsl": {
    "h": 291.509,
    "s": 49.074,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50802,
    "c": 0.17922,
    "h": 321.7
  },
  "luminance": 0.11417
}

Semantic roles & 50–950 ramp

primary
#9237A1
secondary
#81BD77
accent
#D94F63
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #9237A1

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

Preview Lab → · Contrast checker → · Palette generator →

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