#9231AD#9231AD

#9231AD is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.198 H 317.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9231AD
RGBrgb(146, 49, 173)
HSLhsl(287, 56%, 44%)
HSVhsv(287, 72%, 68%)
CMYKcmyk(15.6%, 71.7%, 0%, 32.2%)
CIE-LABlab(40.12, 57.91, -47.23)
CIE-LCHlch(40.12, 74.73, 320.80°)
OKLaboklab(50.93% 0.1468 -0.1326)
OKLCHoklch(50.93% 0.198 317.9)
XYZxyz(20.4941, 11.3257, 40.6336)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231AD #4CAD31
analogous
#5431AD #9231AD #AD318A
triadic
#9231AD #AD9231 #31AD92
tetradic
#9231AD #AD5431 #4CAD31 #318AAD
square
#9231AD #AD5431 #4CAD31 #318AAD
split-complementary
#9231AD #8AAD31 #31AD54
monochromatic
#42164E #6A237D #9231AD #B14ECD #C67EDA

Accessibility & contrast

On white

6.43
#9231AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9231AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9231AD#FFFFFF#000000##FFFFFF
##9231AD1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#3662AA
Tritanopia (blue-blind)
#914A6C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9231ad;
/* rgb */ color: rgb(146, 49, 173);
/* oklch */ color: oklch(50.9% 0.198 317.9);
Tailwind
colors: {
  custom: {
    50: '#b672c6',
    500: '#9231ad',
    950: '#000000',
  },
}
SCSS
$custom: #9231ad;
$custom-light: #b672c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9231ad",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 286.935,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50928,
    "c": 0.19783,
    "h": 317.9
  },
  "luminance": 0.11325
}

Semantic roles & 50–950 ramp

primary
#9231AD
secondary
#87C377
accent
#DF4969
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9231AD

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

Preview Lab → · Contrast checker → · Palette generator →

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