#9231AB#9231AB

#9231AB is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.196 H 318.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9231AB
RGBrgb(146, 49, 171)
HSLhsl(288, 55%, 43%)
HSVhsv(288, 71%, 67%)
CMYKcmyk(14.6%, 71.3%, 0%, 32.9%)
CIE-LABlab(40.00, 57.52, -46.24)
CIE-LCHlch(40.00, 73.80, 321.20°)
OKLaboklab(50.8% 0.147 -0.1297)
OKLCHoklch(50.8% 0.196 318.6)
XYZxyz(20.3021, 11.2488, 39.6220)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231AB #4AAB31
analogous
#5531AB #9231AB #AB3187
triadic
#9231AB #AB9231 #31AB92
tetradic
#9231AB #AB5531 #4AAB31 #3187AB
square
#9231AB #AB5531 #4AAB31 #3187AB
split-complementary
#9231AB #87AB31 #31AB55
monochromatic
#41164C #69237B #9231AB #B24DCC #C77DDA

Accessibility & contrast

On white

6.46
#9231AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9231AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9231AB#FFFFFF#000000##FFFFFF
##9231AB1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#3861A8
Tritanopia (blue-blind)
#92496B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9231ab;
/* rgb */ color: rgb(146, 49, 171);
/* oklch */ color: oklch(50.8% 0.196 318.6);
Tailwind
colors: {
  custom: {
    50: '#b672c5',
    500: '#9231ab',
    950: '#000000',
  },
}
SCSS
$custom: #9231ab;
$custom-light: #b672c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9231ab",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 287.705,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50797,
    "c": 0.19604,
    "h": 318.6
  },
  "luminance": 0.11248
}

Semantic roles & 50–950 ramp

primary
#9231AB
secondary
#85C275
accent
#DF4968
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9231AB

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

Preview Lab → · Contrast checker → · Palette generator →

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