#9831AF#9831AF

#9831AF is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 51.9% C 0.202 H 319.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9831AF
RGBrgb(152, 49, 175)
HSLhsl(289, 56%, 44%)
HSVhsv(289, 72%, 69%)
CMYKcmyk(13.1%, 72%, 0%, 31.4%)
CIE-LABlab(41.17, 59.58, -46.69)
CIE-LCHlch(41.17, 75.70, 321.92°)
OKLaboklab(51.9% 0.154 -0.1309)
OKLCHoklch(51.9% 0.202 319.6)
XYZxyz(21.7841, 11.9682, 41.7118)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9831AF #48AF31
analogous
#5931AF #9831AF #AF3187
triadic
#9831AF #AF9831 #31AF98
tetradic
#9831AF #AF5931 #48AF31 #3187AF
square
#9831AF #AF5931 #48AF31 #3187AF
split-complementary
#9831AF #87AF31 #31AF59
monochromatic
#45164F #6E247F #9831AF #B74FCE #CA7FDB

Accessibility & contrast

On white

6.19
#9831AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9831AF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9831AF#FFFFFF#000000##FFFFFF
##9831AF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#3B65AC
Tritanopia (blue-blind)
#98496D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9831af;
/* rgb */ color: rgb(152, 49, 175);
/* oklch */ color: oklch(51.9% 0.202 319.6);
Tailwind
colors: {
  custom: {
    50: '#ba73c7',
    500: '#9831af',
    950: '#000000',
  },
}
SCSS
$custom: #9831af;
$custom-light: #ba73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9831af",
  "rgb": {
    "r": 152,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 289.048,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51896,
    "c": 0.20207,
    "h": 319.6
  },
  "luminance": 0.11967
}

Semantic roles & 50–950 ramp

primary
#9831AF
secondary
#86C478
accent
#E04864
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9831AF

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

Preview Lab → · Contrast checker → · Palette generator →

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