#8131CC#8131CC

#8131CC is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.0% C 0.222 H 302.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8131CC
RGBrgb(129, 49, 204)
HSLhsl(271, 61%, 50%)
HSVhsv(271, 76%, 80%)
CMYKcmyk(36.8%, 76%, 0%, 20%)
CIE-LABlab(39.95, 61.32, -65.81)
CIE-LCHlch(39.95, 89.95, 312.98°)
OKLaboklab(51.01% 0.1192 -0.1878)
OKLCHoklch(51.01% 0.222 302.4)
XYZxyz(21.0480, 11.2233, 58.1725)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8131CC #7CCC31
analogous
#3431CC #8131CC #CC31CA
triadic
#8131CC #CC8131 #31CC81
tetradic
#8131CC #CC3431 #7CCC31 #31CACC
square
#8131CC #CC3431 #7CCC31 #31CACC
split-complementary
#8131CC #CACC31 #31CC34
monochromatic
#431969 #62259B #8131CC #9F61D9 #BD92E5

Accessibility & contrast

On white

6.47
#8131CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8131CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8131CC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8131CC#FFFFFF#000000##FFFFFF
##8131CC1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#71597D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8131cc;
/* rgb */ color: rgb(129, 49, 204);
/* oklch */ color: oklch(51.0% 0.222 302.4);
Tailwind
colors: {
  custom: {
    50: '#ac72dd',
    500: '#8131cc',
    950: '#000000',
  },
}
SCSS
$custom: #8131cc;
$custom-light: #ac72dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8131cc",
  "rgb": {
    "r": 129,
    "g": 49,
    "b": 204
  },
  "hsl": {
    "h": 270.968,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5101,
    "c": 0.22238,
    "h": 302.4
  },
  "luminance": 0.11223
}

Semantic roles & 50–950 ramp

primary
#8131CC
secondary
#ABD089
accent
#E44391
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8131CC

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

Preview Lab → · Contrast checker → · Palette generator →

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