#9831AD#9831AD

#9831AD is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.200 H 320.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9831AD
RGBrgb(152, 49, 173)
HSLhsl(290, 56%, 44%)
HSVhsv(290, 72%, 68%)
CMYKcmyk(12.1%, 71.7%, 0%, 32.2%)
CIE-LABlab(41.04, 59.20, -45.71)
CIE-LCHlch(41.04, 74.79, 322.33°)
OKLaboklab(51.77% 0.1541 -0.128)
OKLCHoklch(51.77% 0.2 320.3)
XYZxyz(21.5891, 11.8903, 40.6849)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9831AD #46AD31
analogous
#5A31AD #9831AD #AD3184
triadic
#9831AD #AD9831 #31AD98
tetradic
#9831AD #AD5A31 #46AD31 #3184AD
square
#9831AD #AD5A31 #46AD31 #3184AD
split-complementary
#9831AD #84AD31 #31AD5A
monochromatic
#44164E #6E237D #9831AD #B74ECD #CB7EDA

Accessibility & contrast

On white

6.22
#9831AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9831AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9831AD
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9831AD#FFFFFF#000000##FFFFFF
##9831AD1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#3D64AA
Tritanopia (blue-blind)
#99486C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9831ad;
/* rgb */ color: rgb(152, 49, 173);
/* oklch */ color: oklch(51.8% 0.200 320.3);
Tailwind
colors: {
  custom: {
    50: '#ba73c6',
    500: '#9831ad',
    950: '#000000',
  },
}
SCSS
$custom: #9831ad;
$custom-light: #ba73c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9831ad",
  "rgb": {
    "r": 152,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 289.839,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.20031,
    "h": 320.3
  },
  "luminance": 0.11889
}

Semantic roles & 50–950 ramp

primary
#9831AD
secondary
#84C377
accent
#DF4962
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9831AD

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

Preview Lab → · Contrast checker → · Palette generator →

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