#8131B2#8131B2

#8131B2 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 49.0% C 0.197 H 309.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8131B2
RGBrgb(129, 49, 178)
HSLhsl(277, 57%, 45%)
HSVhsv(277, 72%, 70%)
CMYKcmyk(27.5%, 72.5%, 0%, 30.2%)
CIE-LABlab(37.98, 55.43, -53.77)
CIE-LCHlch(37.98, 77.23, 315.87°)
OKLaboklab(49% 0.1243 -0.1524)
OKLCHoklch(49% 0.197 309.2)
XYZxyz(18.1858, 10.0784, 43.0982)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8131B2 #62B231
analogous
#4031B2 #8131B2 #B231A3
triadic
#8131B2 #B28131 #31B281
tetradic
#8131B2 #B24031 #62B231 #31A3B2
square
#8131B2 #B24031 #62B231 #31A3B2
split-complementary
#8131B2 #A3B231 #31B240
monochromatic
#3B1752 #5E2482 #8131B2 #9F51CF #BA81DC

Accessibility & contrast

On white

6.96
#8131B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8131B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8131B2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8131B2#FFFFFF#000000##FFFFFF
##8131B21.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#115AAF
Tritanopia (blue-blind)
#7A4E6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8131b2;
/* rgb */ color: rgb(129, 49, 178);
/* oklch */ color: oklch(49.0% 0.197 309.2);
Tailwind
colors: {
  custom: {
    50: '#aa70ca',
    500: '#8131b2',
    950: '#000000',
  },
}
SCSS
$custom: #8131b2;
$custom-light: #aa70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8131b2",
  "rgb": {
    "r": 129,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 277.209,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49002,
    "c": 0.19666,
    "h": 309.2
  },
  "luminance": 0.10078
}

Semantic roles & 50–950 ramp

primary
#8131B2
secondary
#96C579
accent
#E04882
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8131B2

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

Preview Lab → · Contrast checker → · Palette generator →

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