#9236AC#9236AC

#9236AC is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.191 H 317.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9236AC
RGBrgb(146, 54, 172)
HSLhsl(287, 52%, 44%)
HSVhsv(287, 69%, 67%)
CMYKcmyk(15.1%, 68.6%, 0%, 32.5%)
CIE-LABlab(40.78, 55.68, -45.58)
CIE-LCHlch(40.78, 71.96, 320.70°)
OKLaboklab(51.38% 0.1416 -0.1278)
OKLCHoklch(51.38% 0.191 317.9)
XYZxyz(20.6186, 11.7288, 40.1995)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9236AC #50AC36
analogous
#5736AC #9236AC #AC368B
triadic
#9236AC #AC9236 #36AC92
tetradic
#9236AC #AC5736 #50AC36 #368BAC
square
#9236AC #AC5736 #50AC36 #368BAC
split-complementary
#9236AC #8BAC36 #36AC57
monochromatic
#43194F #6A277D #9236AC #B055CA #C684D8

Accessibility & contrast

On white

6.28
#9236AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9236AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9236AC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9236AC#FFFFFF#000000##FFFFFF
##9236AC1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#3B63A9
Tritanopia (blue-blind)
#914C6D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9236ac;
/* rgb */ color: rgb(146, 54, 172);
/* oklch */ color: oklch(51.4% 0.191 317.9);
Tailwind
colors: {
  custom: {
    50: '#b575c5',
    500: '#9236ac',
    950: '#000000',
  },
}
SCSS
$custom: #9236ac;
$custom-light: #b575c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9236ac",
  "rgb": {
    "r": 146,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 286.78,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51379,
    "c": 0.19074,
    "h": 317.9
  },
  "luminance": 0.11728
}

Semantic roles & 50–950 ramp

primary
#9236AC
secondary
#8BC27C
accent
#DC4C6C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9236AC

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

Preview Lab → · Contrast checker → · Palette generator →

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