#9237B4#9237B4

#9237B4 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.197 H 315.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9237B4
RGBrgb(146, 55, 180)
HSLhsl(284, 53%, 46%)
HSVhsv(284, 69%, 71%)
CMYKcmyk(18.9%, 69.4%, 0%, 29.4%)
CIE-LABlab(41.44, 56.88, -49.26)
CIE-LCHlch(41.44, 75.24, 319.10°)
OKLaboklab(52.01% 0.14 -0.1386)
OKLCHoklch(52.01% 0.197 315.3)
XYZxyz(21.4571, 12.1394, 44.3840)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237B4 #59B437
analogous
#5337B4 #9237B4 #B43797
triadic
#9237B4 #B49237 #37B492
tetradic
#9237B4 #B45337 #59B437 #3797B4
square
#9237B4 #B45337 #59B437 #3797B4
split-complementary
#9237B4 #97B437 #37B453
monochromatic
#461A56 #6C2985 #9237B4 #AE5BCD #C58ADB

Accessibility & contrast

On white

6.13
#9237B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9237B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237B4
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237B4#FFFFFF#000000##FFFFFF
##9237B41.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#3464B1
Tritanopia (blue-blind)
#8F5071
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9237b4;
/* rgb */ color: rgb(146, 55, 180);
/* oklch */ color: oklch(52.0% 0.197 315.3);
Tailwind
colors: {
  custom: {
    50: '#b675cb',
    500: '#9237b4',
    950: '#000000',
  },
}
SCSS
$custom: #9237b4;
$custom-light: #b675cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9237b4",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 283.68,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52009,
    "c": 0.19699,
    "h": 315.3
  },
  "luminance": 0.12139
}

Semantic roles & 50–950 ramp

primary
#9237B4
secondary
#94C681
accent
#DD4B73
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9237B4

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

Preview Lab → · Contrast checker → · Palette generator →

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