#9236B2#9236B2

#9236B2 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.8% C 0.196 H 316.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9236B2
RGBrgb(146, 54, 178)
HSLhsl(285, 53%, 45%)
HSVhsv(285, 70%, 70%)
CMYKcmyk(18%, 69.7%, 0%, 30.2%)
CIE-LABlab(41.16, 56.89, -48.53)
CIE-LCHlch(41.16, 74.77, 319.53°)
OKLaboklab(51.77% 0.1412 -0.1365)
OKLCHoklch(51.77% 0.196 316)
XYZxyz(21.2079, 11.9645, 43.3031)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9236B2 #56B236
analogous
#5436B2 #9236B2 #B23694
triadic
#9236B2 #B29236 #36B292
tetradic
#9236B2 #B25436 #56B236 #3694B2
square
#9236B2 #B25436 #56B236 #3694B2
split-complementary
#9236B2 #94B236 #36B254
monochromatic
#451A54 #6B2883 #9236B2 #AF59CD #C588DB

Accessibility & contrast

On white

6.19
#9236B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9236B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9236B2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9236B2#FFFFFF#000000##FFFFFF
##9236B21.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3564AF
Tritanopia (blue-blind)
#904F70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9236b2;
/* rgb */ color: rgb(146, 54, 178);
/* oklch */ color: oklch(51.8% 0.196 316.0);
Tailwind
colors: {
  custom: {
    50: '#b675ca',
    500: '#9236b2',
    950: '#000000',
  },
}
SCSS
$custom: #9236b2;
$custom-light: #b675ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9236b2",
  "rgb": {
    "r": 146,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 284.516,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5177,
    "c": 0.19636,
    "h": 316
  },
  "luminance": 0.11964
}

Semantic roles & 50–950 ramp

primary
#9236B2
secondary
#91C57F
accent
#DD4B71
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9236B2

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

Preview Lab → · Contrast checker → · Palette generator →

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