#831785#831785

#831785 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.185 H 327.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#831785
RGBrgb(131, 23, 133)
HSLhsl(299, 71%, 31%)
HSVhsv(299, 83%, 52%)
CMYKcmyk(1.5%, 82.7%, 0%, 47.8%)
CIE-LABlab(32.11, 56.07, -35.87)
CIE-LCHlch(32.11, 66.56, 327.39°)
OKLaboklab(43.94% 0.1555 -0.0997)
OKLCHoklch(43.94% 0.185 327.3)
XYZxyz(13.8999, 7.1326, 22.8304)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831785 #198517
analogous
#4C1785 #831785 #851750
triadic
#831785 #858317 #178583
tetradic
#831785 #854C17 #198517 #175085
square
#831785 #854C17 #198517 #175085
split-complementary
#831785 #508517 #17854C
monochromatic
#1C051D #500E51 #831785 #B620B9 #DA3ADD

Accessibility & contrast

On white

8.65
#831785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#831785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831785
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831785#FFFFFF#000000##FFFFFF
##8317851.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#365082
Tritanopia (blue-blind)
#872C4F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #831785;
/* rgb */ color: rgb(131, 23, 133);
/* oklch */ color: oklch(43.9% 0.185 327.3);
Tailwind
colors: {
  custom: {
    50: '#ab64a9',
    500: '#831785',
    950: '#000000',
  },
}
SCSS
$custom: #831785;
$custom-light: #ab64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#831785",
  "rgb": {
    "r": 131,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 298.909,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43935,
    "c": 0.18473,
    "h": 327.3
  },
  "luminance": 0.07132
}

Semantic roles & 50–950 ramp

primary
#831785
secondary
#41B93F
accent
#ED3B3E
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #831785

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

Preview Lab → · Contrast checker → · Palette generator →

#831785 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva