#9237B2#9237B2

#9237B2 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.195 H 315.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9237B2
RGBrgb(146, 55, 178)
HSLhsl(284, 53%, 46%)
HSVhsv(284, 69%, 70%)
CMYKcmyk(18%, 69.1%, 0%, 30.2%)
CIE-LABlab(41.31, 56.47, -48.29)
CIE-LCHlch(41.31, 74.30, 319.47°)
OKLaboklab(51.88% 0.1401 -0.1358)
OKLCHoklch(51.88% 0.195 315.9)
XYZxyz(21.2549, 12.0585, 43.3188)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237B2 #57B237
analogous
#5437B2 #9237B2 #B23794
triadic
#9237B2 #B29237 #37B292
tetradic
#9237B2 #B25437 #57B237 #3794B2
square
#9237B2 #B25437 #57B237 #3794B2
split-complementary
#9237B2 #94B237 #37B254
monochromatic
#451A54 #6C2983 #9237B2 #AE5ACC #C589DB

Accessibility & contrast

On white

6.16
#9237B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9237B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237B2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237B2#FFFFFF#000000##FFFFFF
##9237B21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3664AF
Tritanopia (blue-blind)
#904F70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9237b2;
/* rgb */ color: rgb(146, 55, 178);
/* oklch */ color: oklch(51.9% 0.195 315.9);
Tailwind
colors: {
  custom: {
    50: '#b675ca',
    500: '#9237b2',
    950: '#000000',
  },
}
SCSS
$custom: #9237b2;
$custom-light: #b675ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9237b2",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 284.39,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51877,
    "c": 0.19509,
    "h": 315.9
  },
  "luminance": 0.12058
}

Semantic roles & 50–950 ramp

primary
#9237B2
secondary
#92C580
accent
#DC4C71
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9237B2

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

Preview Lab → · Contrast checker → · Palette generator →

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