#9236A8#9236A8

#9236A8 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.1% C 0.187 H 319.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9236A8
RGBrgb(146, 54, 168)
HSLhsl(288, 51%, 44%)
HSVhsv(288, 68%, 66%)
CMYKcmyk(13.1%, 67.9%, 0%, 34.1%)
CIE-LABlab(40.54, 54.89, -43.59)
CIE-LCHlch(40.54, 70.09, 321.55°)
OKLaboklab(51.12% 0.1417 -0.122)
OKLCHoklch(51.12% 0.187 319.3)
XYZxyz(20.2402, 11.5774, 38.2067)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9236A8 #4CA836
analogous
#5936A8 #9236A8 #A83685
triadic
#9236A8 #A89236 #36A892
tetradic
#9236A8 #A85936 #4CA836 #3685A8
square
#9236A8 #A85936 #4CA836 #3685A8
split-complementary
#9236A8 #85A836 #36A859
monochromatic
#42184B #6A277A #9236A8 #B153C8 #C682D7

Accessibility & contrast

On white

6.33
#9236A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9236A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9236A8
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9236A8#FFFFFF#000000##FFFFFF
##9236A81.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0859AB
Deuteranopia (green-blind)
#3E63A5
Tritanopia (blue-blind)
#924B6B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9236a8;
/* rgb */ color: rgb(146, 54, 168);
/* oklch */ color: oklch(51.1% 0.187 319.3);
Tailwind
colors: {
  custom: {
    50: '#b574c2',
    500: '#9236a8',
    950: '#000000',
  },
}
SCSS
$custom: #9236a8;
$custom-light: #b574c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9236a8",
  "rgb": {
    "r": 146,
    "g": 54,
    "b": 168
  },
  "hsl": {
    "h": 288.421,
    "s": 51.351,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51124,
    "c": 0.18702,
    "h": 319.3
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

primary
#9236A8
secondary
#87C07A
accent
#DB4D68
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9236A8

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

Preview Lab → · Contrast checker → · Palette generator →

#9236A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva