#9239B3#9239B3

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

Color values

HEX#9239B3
RGBrgb(146, 57, 179)
HSLhsl(284, 52%, 46%)
HSVhsv(284, 68%, 70%)
CMYKcmyk(18.4%, 68.2%, 0%, 29.8%)
CIE-LABlab(41.68, 55.82, -48.29)
CIE-LCHlch(41.68, 73.81, 319.14°)
OKLaboklab(52.16% 0.1379 -0.1358)
OKLCHoklch(52.16% 0.193 315.4)
XYZxyz(21.4526, 12.2927, 43.8818)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239B3 #5AB339
analogous
#5539B3 #9239B3 #B33997
triadic
#9239B3 #B39239 #39B392
tetradic
#9239B3 #B35539 #5AB339 #3997B3
square
#9239B3 #B35539 #5AB339 #3997B3
split-complementary
#9239B3 #97B339 #39B355
monochromatic
#461B56 #6C2A85 #9239B3 #AE5ECC #C58CDA

Accessibility & contrast

On white

6.07
#9239B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9239B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239B3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239B3#FFFFFF#000000##FFFFFF
##9239B31.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#3765B0
Tritanopia (blue-blind)
#905171
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9239b3;
/* rgb */ color: rgb(146, 57, 179);
/* oklch */ color: oklch(52.2% 0.193 315.4);
Tailwind
colors: {
  custom: {
    50: '#b676ca',
    500: '#9239b3',
    950: '#000000',
  },
}
SCSS
$custom: #9239b3;
$custom-light: #b676ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9239b3",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 283.77,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52161,
    "c": 0.19349,
    "h": 315.4
  },
  "luminance": 0.12292
}

Semantic roles & 50–950 ramp

primary
#9239B3
secondary
#95C583
accent
#DB4D73
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9239B3

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

Preview Lab → · Contrast checker → · Palette generator →

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