#9237A5#9237A5

#9237A5 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.0% C 0.183 H 320.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9237A5
RGBrgb(146, 55, 165)
HSLhsl(290, 50%, 43%)
HSVhsv(290, 67%, 65%)
CMYKcmyk(11.5%, 66.7%, 0%, 35.3%)
CIE-LABlab(40.51, 53.87, -41.84)
CIE-LCHlch(40.51, 68.21, 322.16°)
OKLaboklab(51.05% 0.1407 -0.1169)
OKLCHoklch(51.05% 0.183 320.3)
XYZxyz(20.0110, 11.5610, 36.7674)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237A5 #4AA537
analogous
#5B37A5 #9237A5 #A53781
triadic
#9237A5 #A59237 #37A592
tetradic
#9237A5 #A55B37 #4AA537 #3781A5
square
#9237A5 #A55B37 #4AA537 #3781A5
split-complementary
#9237A5 #81A537 #37A55B
monochromatic
#411849 #692877 #9237A5 #B253C6 #C781D5

Accessibility & contrast

On white

6.34
#9237A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9237A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237A5
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237A5#FFFFFF#000000##FFFFFF
##9237A51.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1459A8
Deuteranopia (green-blind)
#4163A2
Tritanopia (blue-blind)
#934A69
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9237a5;
/* rgb */ color: rgb(146, 55, 165);
/* oklch */ color: oklch(51.0% 0.183 320.3);
Tailwind
colors: {
  custom: {
    50: '#b575c0',
    500: '#9237a5',
    950: '#000000',
  },
}
SCSS
$custom: #9237a5;
$custom-light: #b575c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9237a5",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 165
  },
  "hsl": {
    "h": 289.636,
    "s": 50,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51047,
    "c": 0.18292,
    "h": 320.3
  },
  "luminance": 0.1156
}

Semantic roles & 50–950 ramp

primary
#9237A5
secondary
#85BF79
accent
#DA4E66
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9237A5

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

Preview Lab → · Contrast checker → · Palette generator →

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