#9237A9#9237A9

#9237A9 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.3% C 0.187 H 318.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9237A9
RGBrgb(146, 55, 169)
HSLhsl(288, 51%, 44%)
HSVhsv(288, 67%, 66%)
CMYKcmyk(13.6%, 67.5%, 0%, 33.7%)
CIE-LABlab(40.75, 54.66, -43.84)
CIE-LCHlch(40.75, 70.07, 321.27°)
OKLaboklab(51.3% 0.1406 -0.1228)
OKLCHoklch(51.3% 0.187 318.9)
XYZxyz(20.3807, 11.7089, 38.7149)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237A9 #4EA937
analogous
#5937A9 #9237A9 #A93787
triadic
#9237A9 #A99237 #37A992
tetradic
#9237A9 #A95937 #4EA937 #3787A9
square
#9237A9 #A95937 #4EA937 #3787A9
split-complementary
#9237A9 #87A937 #37A959
monochromatic
#42194D #6A287B #9237A9 #B155C8 #C684D7

Accessibility & contrast

On white

6.28
#9237A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9237A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237A9
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237A9#FFFFFF#000000##FFFFFF
##9237A91.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095AAC
Deuteranopia (green-blind)
#3E63A6
Tritanopia (blue-blind)
#924C6B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9237a9;
/* rgb */ color: rgb(146, 55, 169);
/* oklch */ color: oklch(51.3% 0.187 318.9);
Tailwind
colors: {
  custom: {
    50: '#b575c3',
    500: '#9237a9',
    950: '#000000',
  },
}
SCSS
$custom: #9237a9;
$custom-light: #b575c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9237a9",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 169
  },
  "hsl": {
    "h": 287.895,
    "s": 50.893,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51296,
    "c": 0.18664,
    "h": 318.9
  },
  "luminance": 0.11708
}

Semantic roles & 50–950 ramp

primary
#9237A9
secondary
#89C07B
accent
#DA4D6A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9237A9

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

Preview Lab → · Contrast checker → · Palette generator →

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