#8131BE#8131BE

#8131BE is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.209 H 305.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8131BE
RGBrgb(129, 49, 190)
HSLhsl(274, 59%, 47%)
HSVhsv(274, 74%, 75%)
CMYKcmyk(32.1%, 74.2%, 0%, 25.5%)
CIE-LABlab(38.87, 58.12, -59.42)
CIE-LCHlch(38.87, 83.12, 314.37°)
OKLaboklab(49.91% 0.1222 -0.169)
OKLCHoklch(49.91% 0.209 305.9)
XYZxyz(19.4438, 10.5816, 49.7233)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8131BE #6EBE31
analogous
#3B31BE #8131BE #BE31B5
triadic
#8131BE #BE8131 #31BE81
tetradic
#8131BE #BE3B31 #6EBE31 #31B5BE
square
#8131BE #BE3B31 #6EBE31 #31B5BE
split-complementary
#8131BE #B5BE31 #31BE3B
monochromatic
#3F185D #60248D #8131BE #9E58D4 #BB89E1

Accessibility & contrast

On white

6.74
#8131BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8131BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8131BE
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8131BE#FFFFFF#000000##FFFFFF
##8131BE1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#765375
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8131be;
/* rgb */ color: rgb(129, 49, 190);
/* oklch */ color: oklch(49.9% 0.209 305.9);
Tailwind
colors: {
  custom: {
    50: '#ab71d2',
    500: '#8131be',
    950: '#000000',
  },
}
SCSS
$custom: #8131be;
$custom-light: #ab71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8131be",
  "rgb": {
    "r": 129,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 274.043,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49906,
    "c": 0.20854,
    "h": 305.9
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

primary
#8131BE
secondary
#A0CA80
accent
#E24689
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8131BE

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

Preview Lab → · Contrast checker → · Palette generator →

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