#9239BB#9239BB

#9239BB is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.7% C 0.201 H 313.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9239BB
RGBrgb(146, 57, 187)
HSLhsl(281, 53%, 48%)
HSVhsv(281, 70%, 73%)
CMYKcmyk(21.9%, 69.5%, 0%, 26.7%)
CIE-LABlab(42.19, 57.48, -52.16)
CIE-LCHlch(42.19, 77.62, 317.78°)
OKLaboklab(52.7% 0.1372 -0.1471)
OKLCHoklch(52.7% 0.201 313)
XYZxyz(22.2852, 12.6258, 48.2672)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239BB #62BB39
analogous
#5139BB #9239BB #BB39A3
triadic
#9239BB #BB9239 #39BB92
tetradic
#9239BB #BB5139 #62BB39 #39A3BB
square
#9239BB #BB5139 #62BB39 #39A3BB
split-complementary
#9239BB #A3BB39 #39BB51
monochromatic
#491C5D #6D2B8C #9239BB #AD62CF #C591DD

Accessibility & contrast

On white

5.96
#9239BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9239BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239BB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239BB#FFFFFF#000000##FFFFFF
##9239BB1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#2E66B8
Tritanopia (blue-blind)
#8E5476
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9239bb;
/* rgb */ color: rgb(146, 57, 187);
/* oklch */ color: oklch(52.7% 0.201 313.0);
Tailwind
colors: {
  custom: {
    50: '#b677d0',
    500: '#9239bb',
    950: '#000000',
  },
}
SCSS
$custom: #9239bb;
$custom-light: #b677d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9239bb",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 281.077,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52696,
    "c": 0.20119,
    "h": 313
  },
  "luminance": 0.12625
}

Semantic roles & 50–950 ramp

primary
#9239BB
secondary
#9CC887
accent
#DD4B79
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9239BB

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

Preview Lab → · Contrast checker → · Palette generator →

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