#9236BB#9236BB

#9236BB is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.205 H 313.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9236BB
RGBrgb(146, 54, 187)
HSLhsl(282, 55%, 47%)
HSVhsv(282, 71%, 73%)
CMYKcmyk(21.9%, 71.1%, 0%, 26.7%)
CIE-LABlab(41.75, 58.74, -52.88)
CIE-LCHlch(41.75, 79.03, 318.00°)
OKLaboklab(52.38% 0.1403 -0.1492)
OKLCHoklch(52.38% 0.205 313.2)
XYZxyz(22.1413, 12.3379, 48.2192)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9236BB #5FBB36
analogous
#5036BB #9236BB #BB36A2
triadic
#9236BB #BB9236 #36BB92
tetradic
#9236BB #BB5036 #5FBB36 #36A2BB
square
#9236BB #BB5036 #5FBB36 #36A2BB
split-complementary
#9236BB #A2BB36 #36BB50
monochromatic
#481B5C #6D288C #9236BB #AD5ED0 #C58DDE

Accessibility & contrast

On white

6.06
#9236BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9236BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9236BB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9236BB#FFFFFF#000000##FFFFFF
##9236BB1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#2B65B8
Tritanopia (blue-blind)
#8E5275
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9236bb;
/* rgb */ color: rgb(146, 54, 187);
/* oklch */ color: oklch(52.4% 0.205 313.2);
Tailwind
colors: {
  custom: {
    50: '#b675d0',
    500: '#9236bb',
    950: '#000000',
  },
}
SCSS
$custom: #9236bb;
$custom-light: #b675d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9236bb",
  "rgb": {
    "r": 146,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 281.504,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52378,
    "c": 0.20485,
    "h": 313.2
  },
  "luminance": 0.12337
}

Semantic roles & 50–950 ramp

primary
#9236BB
secondary
#99C984
accent
#DF4977
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9236BB

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

Preview Lab → · Contrast checker → · Palette generator →

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