#9231AA#9231AA

#9231AA is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.195 H 318.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9231AA
RGBrgb(146, 49, 170)
HSLhsl(288, 55%, 43%)
HSVhsv(288, 71%, 67%)
CMYKcmyk(14.1%, 71.2%, 0%, 33.3%)
CIE-LABlab(39.93, 57.33, -45.75)
CIE-LCHlch(39.93, 73.34, 321.41°)
OKLaboklab(50.73% 0.147 -0.1283)
OKLCHoklch(50.73% 0.195 318.9)
XYZxyz(20.2071, 11.2108, 39.1219)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231AA #49AA31
analogous
#5531AA #9231AA #AA3185
triadic
#9231AA #AA9231 #31AA92
tetradic
#9231AA #AA5531 #49AA31 #3185AA
square
#9231AA #AA5531 #49AA31 #3185AA
split-complementary
#9231AA #85AA31 #31AA55
monochromatic
#40164B #69237A #9231AA #B24DCC #C77CD9

Accessibility & contrast

On white

6.48
#9231AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9231AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9231AA
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9231AA#FFFFFF#000000##FFFFFF
##9231AA1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#3961A7
Tritanopia (blue-blind)
#92486A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9231aa;
/* rgb */ color: rgb(146, 49, 170);
/* oklch */ color: oklch(50.7% 0.195 318.9);
Tailwind
colors: {
  custom: {
    50: '#b672c4',
    500: '#9231aa',
    950: '#000000',
  },
}
SCSS
$custom: #9231aa;
$custom-light: #b672c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9231aa",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 288.099,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50731,
    "c": 0.19513,
    "h": 318.9
  },
  "luminance": 0.1121
}

Semantic roles & 50–950 ramp

primary
#9231AA
secondary
#84C275
accent
#DF4967
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9231AA

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

Preview Lab → · Contrast checker → · Palette generator →

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