#8137C7#8137C7

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

Color values

HEX#8137C7
RGBrgb(129, 55, 199)
HSLhsl(271, 57%, 50%)
HSVhsv(271, 72%, 78%)
CMYKcmyk(35.2%, 72.4%, 0%, 22%)
CIE-LABlab(40.45, 57.64, -62.11)
CIE-LCHlch(40.45, 84.73, 312.86°)
OKLaboklab(51.24% 0.1148 -0.1769)
OKLCHoklch(51.24% 0.211 303)
XYZxyz(20.7258, 11.5230, 55.1540)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8137C7 #7DC737
analogous
#3937C7 #8137C7 #C737C5
triadic
#8137C7 #C78137 #37C781
tetradic
#8137C7 #C73937 #7DC737 #37C5C7
square
#8137C7 #C73937 #7DC737 #37C5C7
split-complementary
#8137C7 #C5C737 #37C739
monochromatic
#431C67 #622A97 #8137C7 #9F66D5 #BD96E2

Accessibility & contrast

On white

6.35
#8137C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8137C7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8137C7#FFFFFF#000000##FFFFFF
##8137C71.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#735A7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8137c7;
/* rgb */ color: rgb(129, 55, 199);
/* oklch */ color: oklch(51.2% 0.211 303.0);
Tailwind
colors: {
  custom: {
    50: '#ab74d9',
    500: '#8137c7',
    950: '#000000',
  },
}
SCSS
$custom: #8137c7;
$custom-light: #ab74d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8137c7",
  "rgb": {
    "r": 129,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 270.833,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51237,
    "c": 0.21092,
    "h": 303
  },
  "luminance": 0.11523
}

Semantic roles & 50–950 ramp

primary
#8137C7
secondary
#ACCD8C
accent
#E04892
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8137C7

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

Preview Lab → · Contrast checker → · Palette generator →

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