#831FBB#831FBB

#831FBB is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.4% C 0.223 H 308.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#831FBB
RGBrgb(131, 31, 187)
HSLhsl(278, 72%, 43%)
HSVhsv(278, 83%, 73%)
CMYKcmyk(29.9%, 83.4%, 0%, 26.7%)
CIE-LABlab(36.73, 64.13, -61.11)
CIE-LCHlch(36.73, 88.58, 316.38°)
OKLaboklab(48.4% 0.14 -0.1738)
OKLCHoklch(48.4% 0.223 308.9)
XYZxyz(18.8178, 9.3935, 47.8259)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831FBB #57BB1F
analogous
#351FBB #831FBB #BB1FA5
triadic
#831FBB #BB831F #1FBB83
tetradic
#831FBB #BB351F #57BB1F #1FA5BB
square
#831FBB #BB351F #57BB1F #1FA5BB
split-complementary
#831FBB #A5BB1F #1FBB35
monochromatic
#390E52 #5E1687 #831FBB #A339DE #BB6EE7

Accessibility & contrast

On white

7.30
#831FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#831FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831FBB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831FBB#FFFFFF#000000##FFFFFF
##831FBB1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.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: #831fbb;
/* rgb */ color: rgb(131, 31, 187);
/* oklch */ color: oklch(48.4% 0.223 308.9);
Tailwind
colors: {
  custom: {
    50: '#ad69d0',
    500: '#831fbb',
    950: '#000000',
  },
}
SCSS
$custom: #831fbb;
$custom-light: #ad69d0;
$custom-dark: #000000;
JSON
{
  "hex": "#831fbb",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 187
  },
  "hsl": {
    "h": 278.462,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48397,
    "c": 0.22315,
    "h": 308.9
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#831FBB
secondary
#8DCD69
accent
#EE3A7A
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #831FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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