#9239AA#9239AA

#9239AA is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.6% C 0.185 H 318.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9239AA
RGBrgb(146, 57, 170)
HSLhsl(287, 50%, 45%)
HSVhsv(287, 66%, 67%)
CMYKcmyk(14.1%, 66.5%, 0%, 33.3%)
CIE-LABlab(41.12, 53.99, -43.85)
CIE-LCHlch(41.12, 69.55, 320.92°)
OKLaboklab(51.58% 0.1383 -0.1228)
OKLCHoklch(51.58% 0.185 318.4)
XYZxyz(20.5719, 11.9404, 39.2435)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239AA #51AA39
analogous
#5A39AA #9239AA #AA398A
triadic
#9239AA #AA9239 #39AA92
tetradic
#9239AA #AA5A39 #51AA39 #398AAA
square
#9239AA #AA5A39 #51AA39 #398AAA
split-complementary
#9239AA #8AAA39 #39AA5A
monochromatic
#431A4E #6B2A7C #9239AA #B059C7 #C687D7

Accessibility & contrast

On white

6.20
#9239AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9239AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9239AA#FFFFFF#000000##FFFFFF
##9239AA1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5BAD
Deuteranopia (green-blind)
#3F64A7
Tritanopia (blue-blind)
#924D6D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9239aa;
/* rgb */ color: rgb(146, 57, 170);
/* oklch */ color: oklch(51.6% 0.185 318.4);
Tailwind
colors: {
  custom: {
    50: '#b576c4',
    500: '#9239aa',
    950: '#000000',
  },
}
SCSS
$custom: #9239aa;
$custom-light: #b576c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9239aa",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 287.257,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51583,
    "c": 0.18491,
    "h": 318.4
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

primary
#9239AA
secondary
#8CC17E
accent
#D94E6C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9239AA

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

Preview Lab → · Contrast checker → · Palette generator →

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