#831DAD#831DAD

#831DAD is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.2% C 0.213 H 313.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#831DAD
RGBrgb(131, 29, 173)
HSLhsl(283, 71%, 40%)
HSVhsv(283, 83%, 68%)
CMYKcmyk(24.3%, 83.2%, 0%, 32.2%)
CIE-LABlab(35.44, 61.85, -54.90)
CIE-LCHlch(35.44, 82.70, 318.41°)
OKLaboklab(47.16% 0.145 -0.1555)
OKLCHoklch(47.16% 0.213 313)
XYZxyz(17.3409, 8.7217, 40.2970)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831DAD #47AD1D
analogous
#3B1DAD #831DAD #AD1D8F
triadic
#831DAD #AD831D #1DAD83
tetradic
#831DAD #AD3B1D #47AD1D #1D8FAD
square
#831DAD #AD3B1D #47AD1D #1D8FAD
split-complementary
#831DAD #8FAD1D #1DAD3B
monochromatic
#340B44 #5B1479 #831DAD #A82CDC #BE60E4

Accessibility & contrast

On white

7.65
#831DAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#831DAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831DAD
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831DAD#FFFFFF#000000##FFFFFF
##831DAD1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#7E4367
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #831dad;
/* rgb */ color: rgb(131, 29, 173);
/* oklch */ color: oklch(47.2% 0.213 313.0);
Tailwind
colors: {
  custom: {
    50: '#ac68c6',
    500: '#831dad',
    950: '#000000',
  },
}
SCSS
$custom: #831dad;
$custom-light: #ac68c6;
$custom-dark: #000000;
JSON
{
  "hex": "#831dad",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 173
  },
  "hsl": {
    "h": 282.5,
    "s": 71.287,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47159,
    "c": 0.21258,
    "h": 313
  },
  "luminance": 0.08721
}

Semantic roles & 50–950 ramp

primary
#831DAD
secondary
#7CC95D
accent
#EE3A6E
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #831DAD

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

Preview Lab → · Contrast checker → · Palette generator →

#831DAD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva