#9831A3#9831A3

#9831A3 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.192 H 323.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9831A3
RGBrgb(152, 49, 163)
HSLhsl(294, 54%, 42%)
HSVhsv(294, 70%, 64%)
CMYKcmyk(6.7%, 69.9%, 0%, 36.1%)
CIE-LABlab(40.44, 57.35, -40.70)
CIE-LCHlch(40.44, 70.32, 324.63°)
OKLaboklab(51.14% 0.1545 -0.1134)
OKLCHoklch(51.14% 0.192 323.7)
XYZxyz(20.6575, 11.5176, 35.7783)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9831A3 #3CA331
analogous
#5F31A3 #9831A3 #A33175
triadic
#9831A3 #A39831 #31A398
tetradic
#9831A3 #A35F31 #3CA331 #3175A3
square
#9831A3 #A35F31 #3CA331 #3175A3
split-complementary
#9831A3 #75A331 #31A35F
monochromatic
#401545 #6C2374 #9831A3 #BC49C8 #CD78D6

Accessibility & contrast

On white

6.36
#9831A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9831A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9831A3
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9831A3#FFFFFF#000000##FFFFFF
##9831A31.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1057A6
Deuteranopia (green-blind)
#4463A0
Tritanopia (blue-blind)
#9B4466
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9831a3;
/* rgb */ color: rgb(152, 49, 163);
/* oklch */ color: oklch(51.1% 0.192 323.7);
Tailwind
colors: {
  custom: {
    50: '#ba72bf',
    500: '#9831a3',
    950: '#000000',
  },
}
SCSS
$custom: #9831a3;
$custom-light: #ba72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9831a3",
  "rgb": {
    "r": 152,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 294.211,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51143,
    "c": 0.19164,
    "h": 323.7
  },
  "luminance": 0.11516
}

Semantic roles & 50–950 ramp

primary
#9831A3
secondary
#79BF71
accent
#DD4B59
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9831A3

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

Preview Lab → · Contrast checker → · Palette generator →

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