#9237A4#9237A4

#9237A4 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.0% C 0.182 H 320.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9237A4
RGBrgb(146, 55, 164)
HSLhsl(290, 50%, 43%)
HSVhsv(290, 66%, 64%)
CMYKcmyk(11%, 66.5%, 0%, 35.7%)
CIE-LABlab(40.45, 53.68, -41.34)
CIE-LCHlch(40.45, 67.75, 322.40°)
OKLaboklab(50.99% 0.1407 -0.1154)
OKLCHoklch(50.99% 0.182 320.6)
XYZxyz(19.9203, 11.5247, 36.2900)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237A4 #49A437
analogous
#5B37A4 #9237A4 #A4377F
triadic
#9237A4 #A49237 #37A492
tetradic
#9237A4 #A45B37 #49A437 #377FA4
square
#9237A4 #A45B37 #49A437 #377FA4
split-complementary
#9237A4 #7FA437 #37A45B
monochromatic
#401848 #692876 #9237A4 #B253C5 #C781D5

Accessibility & contrast

On white

6.35
#9237A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9237A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237A4
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237A4#FFFFFF#000000##FFFFFF
##9237A41.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1659A7
Deuteranopia (green-blind)
#4263A1
Tritanopia (blue-blind)
#934A69
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9237a4;
/* rgb */ color: rgb(146, 55, 164);
/* oklch */ color: oklch(51.0% 0.182 320.6);
Tailwind
colors: {
  custom: {
    50: '#b575bf',
    500: '#9237a4',
    950: '#000000',
  },
}
SCSS
$custom: #9237a4;
$custom-light: #b575bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9237a4",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 290.092,
    "s": 49.772,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50985,
    "c": 0.18199,
    "h": 320.6
  },
  "luminance": 0.11524
}

Semantic roles & 50–950 ramp

primary
#9237A4
secondary
#84BE79
accent
#D94F65
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9237A4

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

Preview Lab → · Contrast checker → · Palette generator →

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