#8131D4#8131D4

#8131D4 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.7% C 0.230 H 300.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8131D4
RGBrgb(129, 49, 212)
HSLhsl(269, 65%, 51%)
HSVhsv(269, 77%, 83%)
CMYKcmyk(39.2%, 76.9%, 0%, 16.9%)
CIE-LABlab(40.60, 63.18, -69.38)
CIE-LCHlch(40.60, 93.84, 312.32°)
OKLaboklab(51.66% 0.1172 -0.1983)
OKLCHoklch(51.66% 0.23 300.6)
XYZxyz(22.0323, 11.6170, 63.3561)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8131D4 #84D431
analogous
#3132D4 #8131D4 #D331D4
triadic
#8131D4 #D48131 #31D481
tetradic
#8131D4 #D43132 #84D431 #31D4D3
square
#8131D4 #D43132 #84D431 #31D4D3
split-complementary
#8131D4 #D4D331 #32D431
monochromatic
#441873 #6323A5 #8131D4 #A064DF #BF96E9

Accessibility & contrast

On white

6.32
#8131D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8131D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8131D4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8131D4#FFFFFF#000000##FFFFFF
##8131D41.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD9
Deuteranopia (green-blind)
#005FD1
Tritanopia (blue-blind)
#6E5D82
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8131d4;
/* rgb */ color: rgb(129, 49, 212);
/* oklch */ color: oklch(51.7% 0.230 300.6);
Tailwind
colors: {
  custom: {
    50: '#ad72e2',
    500: '#8131d4',
    950: '#000000',
  },
}
SCSS
$custom: #8131d4;
$custom-light: #ad72e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8131d4",
  "rgb": {
    "r": 129,
    "g": 49,
    "b": 212
  },
  "hsl": {
    "h": 269.448,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51664,
    "c": 0.23028,
    "h": 300.6
  },
  "luminance": 0.11617
}

Semantic roles & 50–950 ramp

primary
#8131D4
secondary
#B1D48C
accent
#E83F95
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #8131D4

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

Preview Lab → · Contrast checker → · Palette generator →

#8131D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva