#9831C8#9831C8

#9831C8 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.224 H 312.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9831C8
RGBrgb(152, 49, 200)
HSLhsl(281, 61%, 49%)
HSVhsv(281, 76%, 78%)
CMYKcmyk(24%, 75.5%, 0%, 21.6%)
CIE-LABlab(42.83, 64.51, -58.68)
CIE-LCHlch(42.83, 87.21, 317.71°)
OKLaboklab(53.6% 0.1509 -0.166)
OKLCHoklch(53.6% 0.224 312.3)
XYZxyz(24.4706, 13.0429, 55.8608)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9831C8 #61C831
analogous
#4D31C8 #9831C8 #C831AD
triadic
#9831C8 #C89831 #31C898
tetradic
#9831C8 #C84D31 #61C831 #31ADC8
square
#9831C8 #C84D31 #61C831 #31ADC8
split-complementary
#9831C8 #ADC831 #31C84D
monochromatic
#4D1966 #732597 #9831C8 #B15FD8 #C990E4

Accessibility & contrast

On white

5.82
#9831C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9831C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9831C8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9831C8#FFFFFF#000000##FFFFFF
##9831C81.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#1A67C5
Tritanopia (blue-blind)
#92547B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9831c8;
/* rgb */ color: rgb(152, 49, 200);
/* oklch */ color: oklch(53.6% 0.224 312.3);
Tailwind
colors: {
  custom: {
    50: '#bb74da',
    500: '#9831c8',
    950: '#000000',
  },
}
SCSS
$custom: #9831c8;
$custom-light: #bb74da;
$custom-dark: #000000;
JSON
{
  "hex": "#9831c8",
  "rgb": {
    "r": 152,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 280.927,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53603,
    "c": 0.22435,
    "h": 312.3
  },
  "luminance": 0.13042
}

Semantic roles & 50–950 ramp

primary
#9831C8
secondary
#9DCE86
accent
#E44477
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9831C8

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

Preview Lab → · Contrast checker → · Palette generator →

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