#831ABB#831ABB

#831ABB is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.1% C 0.227 H 309.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#831ABB
RGBrgb(131, 26, 187)
HSLhsl(279, 76%, 42%)
HSVhsv(279, 86%, 73%)
CMYKcmyk(29.9%, 86.1%, 0%, 26.7%)
CIE-LABlab(36.28, 65.47, -61.86)
CIE-LCHlch(36.28, 90.07, 316.62°)
OKLaboklab(48.08% 0.1431 -0.1759)
OKLCHoklch(48.08% 0.227 309.1)
XYZxyz(18.6973, 9.1523, 47.7857)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831ABB #52BB1A
analogous
#321ABB #831ABB #BB1AA3
triadic
#831ABB #BB831A #1ABB83
tetradic
#831ABB #BB321A #52BB1A #1AA3BB
square
#831ABB #BB321A #52BB1A #1AA3BB
split-complementary
#831ABB #A3BB1A #1ABB32
monochromatic
#380B50 #5D1385 #831ABB #A430E2 #BC66EA

Accessibility & contrast

On white

7.42
#831ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#831ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831ABB
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831ABB#FFFFFF#000000##FFFFFF
##831ABB1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#7A486F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #831abb;
/* rgb */ color: rgb(131, 26, 187);
/* oklch */ color: oklch(48.1% 0.227 309.1);
Tailwind
colors: {
  custom: {
    50: '#ad68d0',
    500: '#831abb',
    950: '#000000',
  },
}
SCSS
$custom: #831abb;
$custom-light: #ad68d0;
$custom-dark: #000000;
JSON
{
  "hex": "#831abb",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 187
  },
  "hsl": {
    "h": 279.13,
    "s": 75.587,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48082,
    "c": 0.22675,
    "h": 309.1
  },
  "luminance": 0.09152
}

Semantic roles & 50–950 ramp

primary
#831ABB
secondary
#88CF62
accent
#F23677
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110714
muted
#807A82

Preview Lab

Preview with #831ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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