#831EC9#831EC9

#831EC9 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.5% C 0.236 H 305.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#831EC9
RGBrgb(131, 30, 201)
HSLhsl(275, 74%, 45%)
HSVhsv(275, 85%, 79%)
CMYKcmyk(34.8%, 85.1%, 0%, 21.2%)
CIE-LABlab(37.79, 67.34, -67.59)
CIE-LCHlch(37.79, 95.41, 314.89°)
OKLaboklab(49.49% 0.1364 -0.1928)
OKLCHoklch(49.49% 0.236 305.3)
XYZxyz(20.3646, 9.9710, 56.0988)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831EC9 #64C91E
analogous
#2E1EC9 #831EC9 #C91EB9
triadic
#831EC9 #C9831E #1EC983
tetradic
#831EC9 #C92E1E #64C91E #1EB9C9
square
#831EC9 #C92E1E #64C91E #1EB9C9
split-complementary
#831EC9 #B9C91E #1EC92E
monochromatic
#3E0E5E #601694 #831EC9 #A141E3 #BB77EB

Accessibility & contrast

On white

7.01
#831EC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#831EC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831EC9
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831EC9#FFFFFF#000000##FFFFFF
##831EC91.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#765078
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #831ec9;
/* rgb */ color: rgb(131, 30, 201);
/* oklch */ color: oklch(49.5% 0.236 305.3);
Tailwind
colors: {
  custom: {
    50: '#ae6adb',
    500: '#831ec9',
    950: '#000000',
  },
}
SCSS
$custom: #831ec9;
$custom-light: #ae6adb;
$custom-dark: #000000;
JSON
{
  "hex": "#831ec9",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 201
  },
  "hsl": {
    "h": 275.439,
    "s": 74.026,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49487,
    "c": 0.23616,
    "h": 305.3
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#831EC9
secondary
#99D271
accent
#F13783
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110715
muted
#807A83

Preview Lab

Preview with #831EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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