#8137BE#8137BE

#8137BE is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.6% C 0.202 H 305.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8137BE
RGBrgb(129, 55, 190)
HSLhsl(273, 55%, 48%)
HSVhsv(273, 71%, 75%)
CMYKcmyk(32.1%, 71.1%, 0%, 25.5%)
CIE-LABlab(39.78, 55.54, -57.94)
CIE-LCHlch(39.78, 80.26, 313.79°)
OKLaboklab(50.55% 0.1164 -0.1647)
OKLCHoklch(50.55% 0.202 305.3)
XYZxyz(19.7116, 11.1173, 49.8126)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8137BE #74BE37
analogous
#3E37BE #8137BE #BE37B7
triadic
#8137BE #BE8137 #37BE81
tetradic
#8137BE #BE3E37 #74BE37 #37B7BE
square
#8137BE #BE3E37 #74BE37 #37B7BE
split-complementary
#8137BE #B7BE37 #37BE3E
monochromatic
#411C5F #61298F #8137BE #9F61D1 #BB90DF

Accessibility & contrast

On white

6.51
#8137BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8137BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8137BE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8137BE#FFFFFF#000000##FFFFFF
##8137BE1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#765777
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8137be;
/* rgb */ color: rgb(129, 55, 190);
/* oklch */ color: oklch(50.6% 0.202 305.3);
Tailwind
colors: {
  custom: {
    50: '#ab74d2',
    500: '#8137be',
    950: '#000000',
  },
}
SCSS
$custom: #8137be;
$custom-light: #ab74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8137be",
  "rgb": {
    "r": 129,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 272.889,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50551,
    "c": 0.20166,
    "h": 305.3
  },
  "luminance": 0.11117
}

Semantic roles & 50–950 ramp

primary
#8137BE
secondary
#A5CA87
accent
#DE498D
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8137BE

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

Preview Lab → · Contrast checker → · Palette generator →

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