#9237B8#9237B8

#9237B8 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.3% C 0.201 H 314.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9237B8
RGBrgb(146, 55, 184)
HSLhsl(282, 54%, 47%)
HSVhsv(282, 70%, 72%)
CMYKcmyk(20.7%, 70.1%, 0%, 27.8%)
CIE-LABlab(41.70, 57.70, -51.20)
CIE-LCHlch(41.70, 77.14, 318.41°)
OKLaboklab(52.28% 0.1396 -0.1443)
OKLCHoklch(52.28% 0.201 314.1)
XYZxyz(21.8705, 12.3048, 46.5611)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237B8 #5DB837
analogous
#5237B8 #9237B8 #B8379E
triadic
#9237B8 #B89237 #37B892
tetradic
#9237B8 #B85237 #5DB837 #379EB8
square
#9237B8 #B85237 #5DB837 #379EB8
split-complementary
#9237B8 #9EB837 #37B852
monochromatic
#471B5A #6D2989 #9237B8 #AD5DCF #C58DDD

Accessibility & contrast

On white

6.07
#9237B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9237B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237B8
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237B8#FFFFFF#000000##FFFFFF
##9237B81.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#3065B5
Tritanopia (blue-blind)
#8E5274
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9237b8;
/* rgb */ color: rgb(146, 55, 184);
/* oklch */ color: oklch(52.3% 0.201 314.1);
Tailwind
colors: {
  custom: {
    50: '#b676ce',
    500: '#9237b8',
    950: '#000000',
  },
}
SCSS
$custom: #9237b8;
$custom-light: #b676ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9237b8",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 282.326,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52278,
    "c": 0.20079,
    "h": 314.1
  },
  "luminance": 0.12304
}

Semantic roles & 50–950 ramp

primary
#9237B8
secondary
#97C784
accent
#DD4A76
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9237B8

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

Preview Lab → · Contrast checker → · Palette generator →

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