#8137B7#8137B7

#8137B7 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.0% C 0.194 H 307.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8137B7
RGBrgb(129, 55, 183)
HSLhsl(275, 54%, 47%)
HSVhsv(275, 70%, 72%)
CMYKcmyk(29.5%, 69.9%, 0%, 28.2%)
CIE-LABlab(39.27, 53.93, -54.64)
CIE-LCHlch(39.27, 76.77, 314.62°)
OKLaboklab(50.03% 0.1174 -0.155)
OKLCHoklch(50.03% 0.194 307.2)
XYZxyz(18.9649, 10.8186, 45.8797)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8137B7 #6DB737
analogous
#4137B7 #8137B7 #B737AD
triadic
#8137B7 #B78137 #37B781
tetradic
#8137B7 #B74137 #6DB737 #37ADB7
square
#8137B7 #B74137 #6DB737 #37ADB7
split-complementary
#8137B7 #ADB737 #37B741
monochromatic
#3F1B59 #602988 #8137B7 #9E5DCE #BA8CDC

Accessibility & contrast

On white

6.64
#8137B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8137B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8137B7
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8137B7#FFFFFF#000000##FFFFFF
##8137B71.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#115DB4
Tritanopia (blue-blind)
#785473
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8137b7;
/* rgb */ color: rgb(129, 55, 183);
/* oklch */ color: oklch(50.0% 0.194 307.2);
Tailwind
colors: {
  custom: {
    50: '#aa74cd',
    500: '#8137b7',
    950: '#000000',
  },
}
SCSS
$custom: #8137b7;
$custom-light: #aa74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8137b7",
  "rgb": {
    "r": 129,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 274.688,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50033,
    "c": 0.19444,
    "h": 307.2
  },
  "luminance": 0.10818
}

Semantic roles & 50–950 ramp

primary
#8137B7
secondary
#A0C783
accent
#DD4B88
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8137B7

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

Preview Lab → · Contrast checker → · Palette generator →

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