#831CAE#831CAE

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

Color values

HEX#831CAE
RGBrgb(131, 28, 174)
HSLhsl(282, 72%, 40%)
HSVhsv(282, 84%, 68%)
CMYKcmyk(24.7%, 83.9%, 0%, 31.8%)
CIE-LABlab(35.42, 62.32, -55.53)
CIE-LCHlch(35.42, 83.47, 318.30°)
OKLaboklab(47.17% 0.1454 -0.1573)
OKLCHoklch(47.17% 0.214 312.7)
XYZxyz(17.4139, 8.7123, 40.8005)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831CAE #47AE1C
analogous
#3A1CAE #831CAE #AE1C90
triadic
#831CAE #AE831C #1CAE83
tetradic
#831CAE #AE3A1C #47AE1C #1C90AE
square
#831CAE #AE3A1C #47AE1C #1C90AE
split-complementary
#831CAE #90AE1C #1CAE3A
monochromatic
#340B45 #5B1479 #831CAE #A82ADD #BE5FE5

Accessibility & contrast

On white

7.66
#831CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831CAE
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831CAE#FFFFFF#000000##FFFFFF
##831CAE1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#7E4368
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #831cae;
/* rgb */ color: rgb(131, 28, 174);
/* oklch */ color: oklch(47.2% 0.214 312.7);
Tailwind
colors: {
  custom: {
    50: '#ac68c7',
    500: '#831cae',
    950: '#000000',
  },
}
SCSS
$custom: #831cae;
$custom-light: #ac68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#831cae",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 174
  },
  "hsl": {
    "h": 282.329,
    "s": 72.277,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4717,
    "c": 0.21422,
    "h": 312.7
  },
  "luminance": 0.08712
}

Semantic roles & 50–950 ramp

primary
#831CAE
secondary
#7CCA5C
accent
#EF396E
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #831CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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