#9237B7#9237B7

#9237B7 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.200 H 314.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9237B7
RGBrgb(146, 55, 183)
HSLhsl(283, 54%, 47%)
HSVhsv(283, 70%, 72%)
CMYKcmyk(20.2%, 69.9%, 0%, 28.2%)
CIE-LABlab(41.63, 57.49, -50.72)
CIE-LCHlch(41.63, 76.67, 318.58°)
OKLaboklab(52.21% 0.1397 -0.1429)
OKLCHoklch(52.21% 0.2 314.4)
XYZxyz(21.7661, 12.2630, 46.0110)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237B7 #5CB737
analogous
#5237B7 #9237B7 #B7379C
triadic
#9237B7 #B79237 #37B792
tetradic
#9237B7 #B75237 #5CB737 #379CB7
square
#9237B7 #B75237 #5CB737 #379CB7
split-complementary
#9237B7 #9CB737 #37B752
monochromatic
#471B59 #6C2988 #9237B7 #AE5DCE #C58CDC

Accessibility & contrast

On white

6.08
#9237B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9237B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237B7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237B7#FFFFFF#000000##FFFFFF
##9237B71.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#3164B4
Tritanopia (blue-blind)
#8F5173
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9237b7;
/* rgb */ color: rgb(146, 55, 183);
/* oklch */ color: oklch(52.2% 0.200 314.4);
Tailwind
colors: {
  custom: {
    50: '#b676cd',
    500: '#9237b7',
    950: '#000000',
  },
}
SCSS
$custom: #9237b7;
$custom-light: #b676cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9237b7",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 282.656,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5221,
    "c": 0.19983,
    "h": 314.4
  },
  "luminance": 0.12262
}

Semantic roles & 50–950 ramp

primary
#9237B7
secondary
#97C783
accent
#DD4B75
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9237B7

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

Preview Lab → · Contrast checker → · Palette generator →

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