#8137C4#8137C4

#8137C4 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.208 H 303.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8137C4
RGBrgb(129, 55, 196)
HSLhsl(271, 56%, 49%)
HSVhsv(271, 72%, 77%)
CMYKcmyk(34.2%, 71.9%, 0%, 23.1%)
CIE-LABlab(40.22, 56.94, -60.73)
CIE-LCHlch(40.22, 83.24, 313.16°)
OKLaboklab(51.01% 0.1154 -0.1729)
OKLCHoklch(51.01% 0.208 303.7)
XYZxyz(20.3810, 11.3851, 53.3377)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8137C4 #7AC437
analogous
#3A37C4 #8137C4 #C437C1
triadic
#8137C4 #C48137 #37C481
tetradic
#8137C4 #C43A37 #7AC437 #37C1C4
square
#8137C4 #C43A37 #7AC437 #37C1C4
split-complementary
#8137C4 #C1C437 #37C43A
monochromatic
#421C64 #622A94 #8137C4 #9F65D4 #BD94E1

Accessibility & contrast

On white

6.41
#8137C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8137C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8137C4
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8137C4#FFFFFF#000000##FFFFFF
##8137C41.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#74597A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8137c4;
/* rgb */ color: rgb(129, 55, 196);
/* oklch */ color: oklch(51.0% 0.208 303.7);
Tailwind
colors: {
  custom: {
    50: '#ab74d7',
    500: '#8137c4',
    950: '#000000',
  },
}
SCSS
$custom: #8137c4;
$custom-light: #ab74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8137c4",
  "rgb": {
    "r": 129,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 271.489,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.20783,
    "h": 303.7
  },
  "luminance": 0.11385
}

Semantic roles & 50–950 ramp

primary
#8137C4
secondary
#AACC8B
accent
#DF4890
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8137C4

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

Preview Lab → · Contrast checker → · Palette generator →

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