#9239AF#9239AF

#9239AF is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.190 H 316.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9239AF
RGBrgb(146, 57, 175)
HSLhsl(285, 51%, 45%)
HSVhsv(285, 67%, 69%)
CMYKcmyk(16.6%, 67.4%, 0%, 31.4%)
CIE-LABlab(41.43, 55.00, -46.32)
CIE-LCHlch(41.43, 71.91, 319.89°)
OKLaboklab(51.9% 0.1381 -0.13)
OKLCHoklch(51.9% 0.19 316.7)
XYZxyz(21.0539, 12.1332, 41.7820)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239AF #56AF39
analogous
#5739AF #9239AF #AF3991
triadic
#9239AF #AF9239 #39AF92
tetradic
#9239AF #AF5739 #56AF39 #3991AF
square
#9239AF #AF5739 #56AF39 #3991AF
split-complementary
#9239AF #91AF39 #39AF57
monochromatic
#451B53 #6B2A81 #9239AF #AF5BCA #C58AD9

Accessibility & contrast

On white

6.13
#9239AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9239AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9239AF#FFFFFF#000000##FFFFFF
##9239AF1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#3B64AC
Tritanopia (blue-blind)
#914F6F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9239af;
/* rgb */ color: rgb(146, 57, 175);
/* oklch */ color: oklch(51.9% 0.190 316.7);
Tailwind
colors: {
  custom: {
    50: '#b576c7',
    500: '#9239af',
    950: '#000000',
  },
}
SCSS
$custom: #9239af;
$custom-light: #b576c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9239af",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 285.254,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51901,
    "c": 0.18966,
    "h": 316.7
  },
  "luminance": 0.12132
}

Semantic roles & 50–950 ramp

primary
#9239AF
secondary
#91C381
accent
#DA4D70
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9239AF

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

Preview Lab → · Contrast checker → · Palette generator →

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