#9237AD#9237AD

#9237AD is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.6% C 0.190 H 317.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9237AD
RGBrgb(146, 55, 173)
HSLhsl(286, 52%, 45%)
HSVhsv(286, 68%, 68%)
CMYKcmyk(15.6%, 68.2%, 0%, 32.2%)
CIE-LABlab(40.99, 55.46, -45.83)
CIE-LCHlch(40.99, 71.94, 320.43°)
OKLaboklab(51.55% 0.1404 -0.1286)
OKLCHoklch(51.55% 0.19 317.5)
XYZxyz(20.7620, 11.8614, 40.7229)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237AD #52AD37
analogous
#5737AD #9237AD #AD378D
triadic
#9237AD #AD9237 #37AD92
tetradic
#9237AD #AD5737 #52AD37 #378DAD
square
#9237AD #AD5737 #52AD37 #378DAD
split-complementary
#9237AD #8DAD37 #37AD57
monochromatic
#441950 #6B287F #9237AD #B057CA #C686D8

Accessibility & contrast

On white

6.23
#9237AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9237AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237AD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237AD#FFFFFF#000000##FFFFFF
##9237AD1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#3B63AA
Tritanopia (blue-blind)
#914D6E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9237ad;
/* rgb */ color: rgb(146, 55, 173);
/* oklch */ color: oklch(51.6% 0.190 317.5);
Tailwind
colors: {
  custom: {
    50: '#b575c6',
    500: '#9237ad',
    950: '#000000',
  },
}
SCSS
$custom: #9237ad;
$custom-light: #b575c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9237ad",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 286.271,
    "s": 51.754,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51551,
    "c": 0.19039,
    "h": 317.5
  },
  "luminance": 0.1186
}

Semantic roles & 50–950 ramp

primary
#9237AD
secondary
#8DC27D
accent
#DB4D6D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9237AD

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

Preview Lab → · Contrast checker → · Palette generator →

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