#9237B3#9237B3

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

Color values

HEX#9237B3
RGBrgb(146, 55, 179)
HSLhsl(284, 53%, 46%)
HSVhsv(284, 69%, 70%)
CMYKcmyk(18.4%, 69.3%, 0%, 29.8%)
CIE-LABlab(41.37, 56.67, -48.78)
CIE-LCHlch(41.37, 74.77, 319.28°)
OKLaboklab(51.94% 0.14 -0.1372)
OKLCHoklch(51.94% 0.196 315.6)
XYZxyz(21.3556, 12.0988, 43.8495)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237B3 #58B337
analogous
#5437B3 #9237B3 #B33796
triadic
#9237B3 #B39237 #37B392
tetradic
#9237B3 #B35437 #58B337 #3796B3
square
#9237B3 #B35437 #58B337 #3796B3
split-complementary
#9237B3 #96B337 #37B354
monochromatic
#461A55 #6C2984 #9237B3 #AE5BCD #C58ADB

Accessibility & contrast

On white

6.14
#9237B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9237B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237B3
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237B3#FFFFFF#000000##FFFFFF
##9237B31.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#3564B0
Tritanopia (blue-blind)
#905071
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9237b3;
/* rgb */ color: rgb(146, 55, 179);
/* oklch */ color: oklch(51.9% 0.196 315.6);
Tailwind
colors: {
  custom: {
    50: '#b675ca',
    500: '#9237b3',
    950: '#000000',
  },
}
SCSS
$custom: #9237b3;
$custom-light: #b675ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9237b3",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 284.032,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51943,
    "c": 0.19604,
    "h": 315.6
  },
  "luminance": 0.12098
}

Semantic roles & 50–950 ramp

primary
#9237B3
secondary
#93C581
accent
#DC4B72
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9237B3

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

Preview Lab → · Contrast checker → · Palette generator →

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