#9239AC#9239AC

#9239AC is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.7% C 0.187 H 317.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9239AC
RGBrgb(146, 57, 172)
HSLhsl(286, 50%, 45%)
HSVhsv(286, 67%, 67%)
CMYKcmyk(15.1%, 66.9%, 0%, 32.5%)
CIE-LABlab(41.24, 54.39, -44.84)
CIE-LCHlch(41.24, 70.49, 320.50°)
OKLaboklab(51.71% 0.1382 -0.1257)
OKLCHoklch(51.71% 0.187 317.7)
XYZxyz(20.7625, 12.0167, 40.2475)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239AC #53AC39
analogous
#5939AC #9239AC #AC398C
triadic
#9239AC #AC9239 #39AC92
tetradic
#9239AC #AC5939 #53AC39 #398CAC
square
#9239AC #AC5939 #53AC39 #398CAC
split-complementary
#9239AC #8CAC39 #39AC59
monochromatic
#441B50 #6B2A7E #9239AC #AF5AC8 #C688D8

Accessibility & contrast

On white

6.17
#9239AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9239AC#FFFFFF#000000##FFFFFF
##9239AC1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085CAF
Deuteranopia (green-blind)
#3D64A9
Tritanopia (blue-blind)
#914E6E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9239ac;
/* rgb */ color: rgb(146, 57, 172);
/* oklch */ color: oklch(51.7% 0.187 317.7);
Tailwind
colors: {
  custom: {
    50: '#b576c5',
    500: '#9239ac',
    950: '#000000',
  },
}
SCSS
$custom: #9239ac;
$custom-light: #b576c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9239ac",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 286.435,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5171,
    "c": 0.18681,
    "h": 317.7
  },
  "luminance": 0.12016
}

Semantic roles & 50–950 ramp

primary
#9239AC
secondary
#8EC27F
accent
#DA4E6E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9239AC

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

Preview Lab → · Contrast checker → · Palette generator →

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