#831CB3#831CB3

#831CB3 is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.6% C 0.218 H 311.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#831CB3
RGBrgb(131, 28, 179)
HSLhsl(281, 73%, 41%)
HSVhsv(281, 84%, 70%)
CMYKcmyk(26.8%, 84.4%, 0%, 29.8%)
CIE-LABlab(35.81, 63.33, -57.87)
CIE-LCHlch(35.81, 85.79, 317.58°)
OKLaboklab(47.56% 0.1441 -0.1642)
OKLCHoklch(47.56% 0.219 311.3)
XYZxyz(17.9104, 8.9109, 43.4156)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831CB3 #4CB31C
analogous
#371CB3 #831CB3 #B31C97
triadic
#831CB3 #B3831C #1CB383
tetradic
#831CB3 #B3371C #4CB31C #1C97B3
square
#831CB3 #B3371C #4CB31C #1C97B3
split-complementary
#831CB3 #97B31C #1CB337
monochromatic
#360B49 #5C147E #831CB3 #A62EDE #BD63E7

Accessibility & contrast

On white

7.55
#831CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#831CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831CB3
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831CB3#FFFFFF#000000##FFFFFF
##831CB31.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#7D456B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #831cb3;
/* rgb */ color: rgb(131, 28, 179);
/* oklch */ color: oklch(47.6% 0.218 311.3);
Tailwind
colors: {
  custom: {
    50: '#ac68cb',
    500: '#831cb3',
    950: '#000000',
  },
}
SCSS
$custom: #831cb3;
$custom-light: #ac68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#831cb3",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 280.927,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47561,
    "c": 0.2185,
    "h": 311.3
  },
  "luminance": 0.0891
}

Semantic roles & 50–950 ramp

primary
#831CB3
secondary
#82CB5F
accent
#F03872
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #831CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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