#9231AC#9231AC

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

Color values

HEX#9231AC
RGBrgb(146, 49, 172)
HSLhsl(287, 56%, 43%)
HSVhsv(287, 72%, 67%)
CMYKcmyk(15.1%, 71.5%, 0%, 32.5%)
CIE-LABlab(40.06, 57.72, -46.73)
CIE-LCHlch(40.06, 74.27, 321.00°)
OKLaboklab(50.86% 0.1469 -0.1312)
OKLCHoklch(50.86% 0.197 318.2)
XYZxyz(20.3977, 11.2871, 40.1259)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231AC #4BAC31
analogous
#5431AC #9231AC #AC3188
triadic
#9231AC #AC9231 #31AC92
tetradic
#9231AC #AC5431 #4BAC31 #3188AC
square
#9231AC #AC5431 #4BAC31 #3188AC
split-complementary
#9231AC #88AC31 #31AC54
monochromatic
#41164D #6A237C #9231AC #B24ECC #C67DDA

Accessibility & contrast

On white

6.45
#9231AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9231AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9231AC#FFFFFF#000000##FFFFFF
##9231AC1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#3761A9
Tritanopia (blue-blind)
#91496B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9231ac;
/* rgb */ color: rgb(146, 49, 172);
/* oklch */ color: oklch(50.9% 0.197 318.2);
Tailwind
colors: {
  custom: {
    50: '#b672c5',
    500: '#9231ac',
    950: '#000000',
  },
}
SCSS
$custom: #9231ac;
$custom-light: #b672c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9231ac",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 287.317,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50862,
    "c": 0.19693,
    "h": 318.2
  },
  "luminance": 0.11286
}

Semantic roles & 50–950 ramp

primary
#9231AC
secondary
#86C376
accent
#DF4969
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9231AC

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

Preview Lab → · Contrast checker → · Palette generator →

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