#831EBB#831EBB

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

Color values

HEX#831EBB
RGBrgb(131, 30, 187)
HSLhsl(279, 72%, 43%)
HSVhsv(279, 84%, 73%)
CMYKcmyk(29.9%, 84%, 0%, 26.7%)
CIE-LABlab(36.63, 64.41, -61.27)
CIE-LCHlch(36.63, 88.90, 316.43°)
OKLaboklab(48.33% 0.1407 -0.1742)
OKLCHoklch(48.33% 0.224 308.9)
XYZxyz(18.7921, 9.3420, 47.8173)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831EBB #56BB1E
analogous
#351EBB #831EBB #BB1EA4
triadic
#831EBB #BB831E #1EBB83
tetradic
#831EBB #BB351E #56BB1E #1EA4BB
square
#831EBB #BB351E #56BB1E #1EA4BB
split-complementary
#831EBB #A4BB1E #1EBB35
monochromatic
#390D52 #5E1686 #831EBB #A337DF #BB6CE7

Accessibility & contrast

On white

7.32
#831EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#831EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831EBB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831EBB#FFFFFF#000000##FFFFFF
##831EBB1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831ebb;
/* rgb */ color: rgb(131, 30, 187);
/* oklch */ color: oklch(48.3% 0.224 308.9);
Tailwind
colors: {
  custom: {
    50: '#ad69d0',
    500: '#831ebb',
    950: '#000000',
  },
}
SCSS
$custom: #831ebb;
$custom-light: #ad69d0;
$custom-dark: #000000;
JSON
{
  "hex": "#831ebb",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 278.599,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4833,
    "c": 0.22392,
    "h": 308.9
  },
  "luminance": 0.09342
}

Semantic roles & 50–950 ramp

primary
#831EBB
secondary
#8CCD67
accent
#EF397A
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #831EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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