#9237AB#9237AB

#9237AB is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.4% C 0.189 H 318.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9237AB
RGBrgb(146, 55, 171)
HSLhsl(287, 51%, 44%)
HSVhsv(287, 68%, 67%)
CMYKcmyk(14.6%, 67.8%, 0%, 32.9%)
CIE-LABlab(40.87, 55.06, -44.84)
CIE-LCHlch(40.87, 71.01, 320.84°)
OKLaboklab(51.42% 0.1405 -0.1257)
OKLCHoklch(51.42% 0.189 318.2)
XYZxyz(20.5699, 11.7845, 39.7113)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237AB #50AB37
analogous
#5837AB #9237AB #AB378A
triadic
#9237AB #AB9237 #37AB92
tetradic
#9237AB #AB5837 #50AB37 #378AAB
square
#9237AB #AB5837 #50AB37 #378AAB
split-complementary
#9237AB #8AAB37 #37AB58
monochromatic
#43194E #6A287D #9237AB #B056C9 #C685D8

Accessibility & contrast

On white

6.26
#9237AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9237AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237AB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237AB#FFFFFF#000000##FFFFFF
##9237AB1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025AAE
Deuteranopia (green-blind)
#3C63A8
Tritanopia (blue-blind)
#914C6D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9237ab;
/* rgb */ color: rgb(146, 55, 171);
/* oklch */ color: oklch(51.4% 0.189 318.2);
Tailwind
colors: {
  custom: {
    50: '#b575c4',
    500: '#9237ab',
    950: '#000000',
  },
}
SCSS
$custom: #9237ab;
$custom-light: #b575c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9237ab",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 287.069,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51423,
    "c": 0.18851,
    "h": 318.2
  },
  "luminance": 0.11784
}

Semantic roles & 50–950 ramp

primary
#9237AB
secondary
#8BC17C
accent
#DB4D6C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9237AB

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

Preview Lab → · Contrast checker → · Palette generator →

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