#8131BF#8131BF

#8131BF is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.0% C 0.210 H 305.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8131BF
RGBrgb(129, 49, 191)
HSLhsl(274, 59%, 47%)
HSVhsv(274, 74%, 75%)
CMYKcmyk(32.5%, 74.3%, 0%, 25.1%)
CIE-LABlab(38.94, 58.34, -59.88)
CIE-LCHlch(38.94, 83.61, 314.26°)
OKLaboklab(49.98% 0.122 -0.1703)
OKLCHoklch(49.98% 0.21 305.6)
XYZxyz(19.5535, 10.6255, 50.3009)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8131BF #6FBF31
analogous
#3A31BF #8131BF #BF31B6
triadic
#8131BF #BF8131 #31BF81
tetradic
#8131BF #BF3A31 #6FBF31 #31B6BF
square
#8131BF #BF3A31 #6FBF31 #31B6BF
split-complementary
#8131BF #B6BF31 #31BF3A
monochromatic
#3F185E #60258E #8131BF #9E59D4 #BB8AE1

Accessibility & contrast

On white

6.72
#8131BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8131BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8131BF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8131BF#FFFFFF#000000##FFFFFF
##8131BF1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#765476
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8131bf;
/* rgb */ color: rgb(129, 49, 191);
/* oklch */ color: oklch(50.0% 0.210 305.6);
Tailwind
colors: {
  custom: {
    50: '#ab71d3',
    500: '#8131bf',
    950: '#000000',
  },
}
SCSS
$custom: #8131bf;
$custom-light: #ab71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8131bf",
  "rgb": {
    "r": 129,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 273.803,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49983,
    "c": 0.20953,
    "h": 305.6
  },
  "luminance": 0.10625
}

Semantic roles & 50–950 ramp

primary
#8131BF
secondary
#A1CB81
accent
#E2458A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8131BF

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

Preview Lab → · Contrast checker → · Palette generator →

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