#9237B5#9237B5

#9237B5 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.1% C 0.198 H 315.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9237B5
RGBrgb(146, 55, 181)
HSLhsl(283, 53%, 46%)
HSVhsv(283, 70%, 71%)
CMYKcmyk(19.3%, 69.6%, 0%, 29%)
CIE-LABlab(41.50, 57.08, -49.75)
CIE-LCHlch(41.50, 75.72, 318.93°)
OKLaboklab(52.08% 0.1399 -0.14)
OKLCHoklch(52.08% 0.198 315)
XYZxyz(21.5594, 12.1803, 44.9225)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237B5 #5AB537
analogous
#5337B5 #9237B5 #B53799
triadic
#9237B5 #B59237 #37B592
tetradic
#9237B5 #B55337 #5AB537 #3799B5
square
#9237B5 #B55337 #5AB537 #3799B5
split-complementary
#9237B5 #99B537 #37B553
monochromatic
#461A57 #6C2986 #9237B5 #AE5CCD #C58BDC

Accessibility & contrast

On white

6.11
#9237B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9237B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237B5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237B5#FFFFFF#000000##FFFFFF
##9237B51.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#3364B2
Tritanopia (blue-blind)
#8F5072
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9237b5;
/* rgb */ color: rgb(146, 55, 181);
/* oklch */ color: oklch(52.1% 0.198 315.0);
Tailwind
colors: {
  custom: {
    50: '#b675cc',
    500: '#9237b5',
    950: '#000000',
  },
}
SCSS
$custom: #9237b5;
$custom-light: #b675cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9237b5",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 283.333,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52076,
    "c": 0.19794,
    "h": 315
  },
  "luminance": 0.1218
}

Semantic roles & 50–950 ramp

primary
#9237B5
secondary
#95C682
accent
#DD4B74
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9237B5

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

Preview Lab → · Contrast checker → · Palette generator →

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