#9831AE#9831AE

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

Color values

HEX#9831AE
RGBrgb(152, 49, 174)
HSLhsl(289, 56%, 44%)
HSVhsv(289, 72%, 68%)
CMYKcmyk(12.6%, 71.8%, 0%, 31.8%)
CIE-LABlab(41.10, 59.39, -46.20)
CIE-LCHlch(41.10, 75.25, 322.12°)
OKLaboklab(51.83% 0.154 -0.1294)
OKLCHoklch(51.83% 0.201 320)
XYZxyz(21.6862, 11.9291, 41.1964)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9831AE #47AE31
analogous
#5931AE #9831AE #AE3185
triadic
#9831AE #AE9831 #31AE98
tetradic
#9831AE #AE5931 #47AE31 #3185AE
square
#9831AE #AE5931 #47AE31 #3185AE
split-complementary
#9831AE #85AE31 #31AE59
monochromatic
#45164E #6E247E #9831AE #B74FCD #CB7FDB

Accessibility & contrast

On white

6.20
#9831AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9831AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9831AE
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9831AE#FFFFFF#000000##FFFFFF
##9831AE1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#3C64AB
Tritanopia (blue-blind)
#98496C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9831ae;
/* rgb */ color: rgb(152, 49, 174);
/* oklch */ color: oklch(51.8% 0.201 320.0);
Tailwind
colors: {
  custom: {
    50: '#ba73c7',
    500: '#9831ae',
    950: '#000000',
  },
}
SCSS
$custom: #9831ae;
$custom-light: #ba73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9831ae",
  "rgb": {
    "r": 152,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 289.44,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51831,
    "c": 0.20119,
    "h": 320
  },
  "luminance": 0.11928
}

Semantic roles & 50–950 ramp

primary
#9831AE
secondary
#85C477
accent
#DF4863
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9831AE

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

Preview Lab → · Contrast checker → · Palette generator →

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