#831DBB#831DBB

#831DBB is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.3% C 0.225 H 309.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#831DBB
RGBrgb(131, 29, 187)
HSLhsl(279, 73%, 42%)
HSVhsv(279, 84%, 73%)
CMYKcmyk(29.9%, 84.5%, 0%, 26.7%)
CIE-LABlab(36.54, 64.69, -61.42)
CIE-LCHlch(36.54, 89.20, 316.48°)
OKLaboklab(48.27% 0.1413 -0.1747)
OKLCHoklch(48.27% 0.225 309)
XYZxyz(18.7672, 9.2922, 47.8090)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831DBB #55BB1D
analogous
#341DBB #831DBB #BB1DA4
triadic
#831DBB #BB831D #1DBB83
tetradic
#831DBB #BB341D #55BB1D #1DA4BB
square
#831DBB #BB341D #55BB1D #1DA4BB
split-complementary
#831DBB #A4BB1D #1DBB34
monochromatic
#390D51 #5E1586 #831DBB #A335E0 #BB6AE8

Accessibility & contrast

On white

7.35
#831DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#831DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831DBB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831DBB#FFFFFF#000000##FFFFFF
##831DBB1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#7A4970
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #831dbb;
/* rgb */ color: rgb(131, 29, 187);
/* oklch */ color: oklch(48.3% 0.225 309.0);
Tailwind
colors: {
  custom: {
    50: '#ad69d0',
    500: '#831dbb',
    950: '#000000',
  },
}
SCSS
$custom: #831dbb;
$custom-light: #ad69d0;
$custom-dark: #000000;
JSON
{
  "hex": "#831dbb",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 187
  },
  "hsl": {
    "h": 278.734,
    "s": 73.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48265,
    "c": 0.22465,
    "h": 309
  },
  "luminance": 0.09292
}

Semantic roles & 50–950 ramp

primary
#831DBB
secondary
#8BCE66
accent
#F03879
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #831DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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