#9239B2#9239B2

#9239B2 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.1% C 0.193 H 315.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9239B2
RGBrgb(146, 57, 178)
HSLhsl(284, 51%, 46%)
HSVhsv(284, 68%, 70%)
CMYKcmyk(18%, 68%, 0%, 30.2%)
CIE-LABlab(41.61, 55.61, -47.80)
CIE-LCHlch(41.61, 73.33, 319.32°)
OKLaboklab(52.1% 0.1379 -0.1343)
OKLCHoklch(52.1% 0.193 315.8)
XYZxyz(21.3518, 12.2524, 43.3511)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239B2 #59B239
analogous
#5539B2 #9239B2 #B23995
triadic
#9239B2 #B29239 #39B292
tetradic
#9239B2 #B25539 #59B239 #3995B2
square
#9239B2 #B25539 #59B239 #3995B2
split-complementary
#9239B2 #95B239 #39B255
monochromatic
#461B55 #6C2A84 #9239B2 #AE5DCB #C58BDA

Accessibility & contrast

On white

6.09
#9239B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9239B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239B2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239B2#FFFFFF#000000##FFFFFF
##9239B21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3865AF
Tritanopia (blue-blind)
#905171
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9239b2;
/* rgb */ color: rgb(146, 57, 178);
/* oklch */ color: oklch(52.1% 0.193 315.8);
Tailwind
colors: {
  custom: {
    50: '#b576ca',
    500: '#9239b2',
    950: '#000000',
  },
}
SCSS
$custom: #9239b2;
$custom-light: #b576ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9239b2",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 284.132,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52096,
    "c": 0.19253,
    "h": 315.8
  },
  "luminance": 0.12252
}

Semantic roles & 50–950 ramp

primary
#9239B2
secondary
#94C482
accent
#DB4D72
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9239B2

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

Preview Lab → · Contrast checker → · Palette generator →

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