#8131BC#8131BC

#8131BC is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.8% C 0.207 H 306.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8131BC
RGBrgb(129, 49, 188)
HSLhsl(275, 59%, 46%)
HSVhsv(275, 74%, 74%)
CMYKcmyk(31.4%, 73.9%, 0%, 26.3%)
CIE-LABlab(38.72, 57.67, -58.49)
CIE-LCHlch(38.72, 82.13, 314.59°)
OKLaboklab(49.75% 0.1226 -0.1662)
OKLCHoklch(49.75% 0.207 306.4)
XYZxyz(19.2267, 10.4948, 48.5800)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8131BC #6CBC31
analogous
#3B31BC #8131BC #BC31B2
triadic
#8131BC #BC8131 #31BC81
tetradic
#8131BC #BC3B31 #6CBC31 #31B2BC
square
#8131BC #BC3B31 #6CBC31 #31B2BC
split-complementary
#8131BC #B2BC31 #31BC3B
monochromatic
#3E185B #60248B #8131BC #9E57D3 #BA88E0

Accessibility & contrast

On white

6.78
#8131BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8131BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8131BC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8131BC#FFFFFF#000000##FFFFFF
##8131BC1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#775374
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8131bc;
/* rgb */ color: rgb(129, 49, 188);
/* oklch */ color: oklch(49.8% 0.207 306.4);
Tailwind
colors: {
  custom: {
    50: '#ab71d1',
    500: '#8131bc',
    950: '#000000',
  },
}
SCSS
$custom: #8131bc;
$custom-light: #ab71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8131bc",
  "rgb": {
    "r": 129,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 274.532,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49752,
    "c": 0.20656,
    "h": 306.4
  },
  "luminance": 0.10495
}

Semantic roles & 50–950 ramp

primary
#8131BC
secondary
#9FCA7F
accent
#E24688
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8131BC

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

Preview Lab → · Contrast checker → · Palette generator →

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