#8137C6#8137C6

#8137C6 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.2% C 0.210 H 303.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8137C6
RGBrgb(129, 55, 198)
HSLhsl(271, 57%, 50%)
HSVhsv(271, 72%, 78%)
CMYKcmyk(34.8%, 72.2%, 0%, 22.4%)
CIE-LABlab(40.37, 57.41, -61.65)
CIE-LCHlch(40.37, 84.24, 312.96°)
OKLaboklab(51.16% 0.115 -0.1756)
OKLCHoklch(51.16% 0.21 303.2)
XYZxyz(20.6101, 11.4767, 54.5446)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8137C6 #7CC637
analogous
#3937C6 #8137C6 #C637C4
triadic
#8137C6 #C68137 #37C681
tetradic
#8137C6 #C63937 #7CC637 #37C4C6
square
#8137C6 #C63937 #7CC637 #37C4C6
split-complementary
#8137C6 #C4C637 #37C639
monochromatic
#431C66 #622A96 #8137C6 #9F66D4 #BD96E2

Accessibility & contrast

On white

6.37
#8137C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8137C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8137C6
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8137C6#FFFFFF#000000##FFFFFF
##8137C61.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#735A7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8137c6;
/* rgb */ color: rgb(129, 55, 198);
/* oklch */ color: oklch(51.2% 0.210 303.2);
Tailwind
colors: {
  custom: {
    50: '#ab74d8',
    500: '#8137c6',
    950: '#000000',
  },
}
SCSS
$custom: #8137c6;
$custom-light: #ab74d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8137c6",
  "rgb": {
    "r": 129,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 271.049,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5116,
    "c": 0.20989,
    "h": 303.2
  },
  "luminance": 0.11477
}

Semantic roles & 50–950 ramp

primary
#8137C6
secondary
#ABCD8C
accent
#E04891
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8137C6

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

Preview Lab → · Contrast checker → · Palette generator →

#8137C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva