#9239AB#9239AB

#9239AB is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.6% C 0.186 H 318.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9239AB
RGBrgb(146, 57, 171)
HSLhsl(287, 50%, 45%)
HSVhsv(287, 67%, 67%)
CMYKcmyk(14.6%, 66.7%, 0%, 32.9%)
CIE-LABlab(41.18, 54.19, -44.34)
CIE-LCHlch(41.18, 70.02, 320.71°)
OKLaboklab(51.65% 0.1382 -0.1242)
OKLCHoklch(51.65% 0.186 318.1)
XYZxyz(20.6669, 11.9784, 39.7436)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239AB #52AB39
analogous
#5939AB #9239AB #AB398B
triadic
#9239AB #AB9239 #39AB92
tetradic
#9239AB #AB5939 #52AB39 #398BAB
square
#9239AB #AB5939 #52AB39 #398BAB
split-complementary
#9239AB #8BAB39 #39AB59
monochromatic
#441A4F #6B2A7D #9239AB #B059C8 #C687D7

Accessibility & contrast

On white

6.18
#9239AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9239AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239AB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239AB#FFFFFF#000000##FFFFFF
##9239AB1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5BAE
Deuteranopia (green-blind)
#3E64A8
Tritanopia (blue-blind)
#914E6D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9239ab;
/* rgb */ color: rgb(146, 57, 171);
/* oklch */ color: oklch(51.6% 0.186 318.1);
Tailwind
colors: {
  custom: {
    50: '#b576c4',
    500: '#9239ab',
    950: '#000000',
  },
}
SCSS
$custom: #9239ab;
$custom-light: #b576c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9239ab",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 171
  },
  "hsl": {
    "h": 286.842,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51646,
    "c": 0.18586,
    "h": 318.1
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#9239AB
secondary
#8DC17F
accent
#DA4E6D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9239AB

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

Preview Lab → · Contrast checker → · Palette generator →

#9239AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva