#9831C0#9831C0

#9831C0 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.217 H 314.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9831C0
RGBrgb(152, 49, 192)
HSLhsl(283, 59%, 47%)
HSVhsv(283, 74%, 75%)
CMYKcmyk(20.8%, 74.5%, 0%, 24.7%)
CIE-LABlab(42.27, 62.90, -54.91)
CIE-LCHlch(42.27, 83.50, 318.88°)
OKLaboklab(53.04% 0.1521 -0.155)
OKLCHoklch(53.04% 0.217 314.5)
XYZxyz(23.5600, 12.6786, 51.0651)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9831C0 #59C031
analogous
#5131C0 #9831C0 #C031A0
triadic
#9831C0 #C09831 #31C098
tetradic
#9831C0 #C05131 #59C031 #31A0C0
square
#9831C0 #C05131 #59C031 #31A0C0
split-complementary
#9831C0 #A0C031 #31C051
monochromatic
#4B185E #71258F #9831C0 #B259D5 #C98AE1

Accessibility & contrast

On white

5.94
#9831C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9831C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9831C0
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9831C0#FFFFFF#000000##FFFFFF
##9831C01.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#2866BD
Tritanopia (blue-blind)
#945177
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9831c0;
/* rgb */ color: rgb(152, 49, 192);
/* oklch */ color: oklch(53.0% 0.217 314.5);
Tailwind
colors: {
  custom: {
    50: '#bb74d4',
    500: '#9831c0',
    950: '#000000',
  },
}
SCSS
$custom: #9831c0;
$custom-light: #bb74d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9831c0",
  "rgb": {
    "r": 152,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 283.217,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53038,
    "c": 0.21717,
    "h": 314.5
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

primary
#9831C0
secondary
#96CB82
accent
#E34571
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9831C0

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

Preview Lab → · Contrast checker → · Palette generator →

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