#9237B9#9237B9

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

Color values

HEX#9237B9
RGBrgb(146, 55, 185)
HSLhsl(282, 54%, 47%)
HSVhsv(282, 70%, 73%)
CMYKcmyk(21.1%, 70.3%, 0%, 27.5%)
CIE-LABlab(41.76, 57.91, -51.68)
CIE-LCHlch(41.76, 77.62, 318.25°)
OKLaboklab(52.35% 0.1395 -0.1457)
OKLCHoklch(52.35% 0.202 313.8)
XYZxyz(21.9757, 12.3469, 47.1151)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237B9 #5EB937
analogous
#5137B9 #9237B9 #B9379F
triadic
#9237B9 #B99237 #37B992
tetradic
#9237B9 #B95137 #5EB937 #379FB9
square
#9237B9 #B95137 #5EB937 #379FB9
split-complementary
#9237B9 #9FB937 #37B951
monochromatic
#481B5B #6D298A #9237B9 #AD5ECF #C58DDD

Accessibility & contrast

On white

6.05
#9237B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9237B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237B9
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237B9#FFFFFF#000000##FFFFFF
##9237B91.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#2E65B6
Tritanopia (blue-blind)
#8E5274
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9237b9;
/* rgb */ color: rgb(146, 55, 185);
/* oklch */ color: oklch(52.3% 0.202 313.8);
Tailwind
colors: {
  custom: {
    50: '#b676cf',
    500: '#9237b9',
    950: '#000000',
  },
}
SCSS
$custom: #9237b9;
$custom-light: #b676cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9237b9",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 282,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52346,
    "c": 0.20174,
    "h": 313.8
  },
  "luminance": 0.12346
}

Semantic roles & 50–950 ramp

primary
#9237B9
secondary
#98C884
accent
#DE4A76
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9237B9

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

Preview Lab → · Contrast checker → · Palette generator →

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