#8137C5#8137C5

#8137C5 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.1% C 0.209 H 303.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8137C5
RGBrgb(129, 55, 197)
HSLhsl(271, 56%, 49%)
HSVhsv(271, 72%, 77%)
CMYKcmyk(34.5%, 72.1%, 0%, 22.7%)
CIE-LABlab(40.30, 57.17, -61.19)
CIE-LCHlch(40.30, 83.74, 313.06°)
OKLaboklab(51.08% 0.1152 -0.1742)
OKLCHoklch(51.08% 0.209 303.5)
XYZxyz(20.4952, 11.4307, 53.9391)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8137C5 #7BC537
analogous
#3A37C5 #8137C5 #C537C2
triadic
#8137C5 #C58137 #37C581
tetradic
#8137C5 #C53A37 #7BC537 #37C2C5
square
#8137C5 #C53A37 #7BC537 #37C2C5
split-complementary
#8137C5 #C2C537 #37C53A
monochromatic
#421C65 #622A95 #8137C5 #9F65D4 #BD95E1

Accessibility & contrast

On white

6.39
#8137C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8137C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8137C5
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8137C5#FFFFFF#000000##FFFFFF
##8137C51.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#73597B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8137c5;
/* rgb */ color: rgb(129, 55, 197);
/* oklch */ color: oklch(51.1% 0.209 303.5);
Tailwind
colors: {
  custom: {
    50: '#ab74d7',
    500: '#8137c5',
    950: '#000000',
  },
}
SCSS
$custom: #8137c5;
$custom-light: #ab74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8137c5",
  "rgb": {
    "r": 129,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 271.268,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51083,
    "c": 0.20885,
    "h": 303.5
  },
  "luminance": 0.11431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8137C5

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

Preview Lab → · Contrast checker → · Palette generator →

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