#8137B2#8137B2

#8137B2 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.7% C 0.189 H 308.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8137B2
RGBrgb(129, 55, 178)
HSLhsl(276, 53%, 46%)
HSVhsv(276, 69%, 70%)
CMYKcmyk(27.5%, 69.1%, 0%, 30.2%)
CIE-LABlab(38.92, 52.79, -52.25)
CIE-LCHlch(38.92, 74.28, 315.29°)
OKLaboklab(49.67% 0.1181 -0.148)
OKLCHoklch(49.67% 0.189 308.6)
XYZxyz(18.4537, 10.6142, 43.1874)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8137B2 #68B237
analogous
#4437B2 #8137B2 #B237A5
triadic
#8137B2 #B28137 #37B281
tetradic
#8137B2 #B24437 #68B237 #37A5B2
square
#8137B2 #B24437 #68B237 #37A5B2
split-complementary
#8137B2 #A5B237 #37B244
monochromatic
#3D1A54 #5F2983 #8137B2 #9F5ACC #BA89DB

Accessibility & contrast

On white

6.72
#8137B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8137B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8137B2
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8137B2#FFFFFF#000000##FFFFFF
##8137B21.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#1D5DAF
Tritanopia (blue-blind)
#7A5270
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8137b2;
/* rgb */ color: rgb(129, 55, 178);
/* oklch */ color: oklch(49.7% 0.189 308.6);
Tailwind
colors: {
  custom: {
    50: '#aa74ca',
    500: '#8137b2',
    950: '#000000',
  },
}
SCSS
$custom: #8137b2;
$custom-light: #aa74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8137b2",
  "rgb": {
    "r": 129,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 276.098,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49672,
    "c": 0.18929,
    "h": 308.6
  },
  "luminance": 0.10614
}

Semantic roles & 50–950 ramp

primary
#8137B2
secondary
#9BC580
accent
#DC4C85
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8137B2

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

Preview Lab → · Contrast checker → · Palette generator →

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