#8137D6#8137D6

#8137D6 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.4% C 0.226 H 299.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8137D6
RGBrgb(129, 55, 214)
HSLhsl(268, 66%, 53%)
HSVhsv(268, 74%, 84%)
CMYKcmyk(39.7%, 74.3%, 0%, 16.1%)
CIE-LABlab(41.62, 61.20, -68.87)
CIE-LCHlch(41.62, 92.14, 311.62°)
OKLaboklab(52.43% 0.1117 -0.1968)
OKLCHoklch(52.43% 0.226 299.6)
XYZxyz(22.5540, 12.2543, 64.7823)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8137D6 #8CD637
analogous
#373CD6 #8137D6 #D137D6
triadic
#8137D6 #D68137 #37D681
tetradic
#8137D6 #D6373C #8CD637 #37D6D1
square
#8137D6 #D6373C #8CD637 #37D6D1
split-complementary
#8137D6 #D6D137 #3CD637
monochromatic
#46197A #6323AC #8137D6 #A16AE0 #C19DEB

Accessibility & contrast

On white

6.09
#8137D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8137D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8137D6
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8137D6#FFFFFF#000000##FFFFFF
##8137D61.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DA
Deuteranopia (green-blind)
#0061D3
Tritanopia (blue-blind)
#6D6084
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8137d6;
/* rgb */ color: rgb(129, 55, 214);
/* oklch */ color: oklch(52.4% 0.226 299.6);
Tailwind
colors: {
  custom: {
    50: '#ad75e4',
    500: '#8137d6',
    950: '#000000',
  },
}
SCSS
$custom: #8137d6;
$custom-light: #ad75e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8137d6",
  "rgb": {
    "r": 129,
    "g": 55,
    "b": 214
  },
  "hsl": {
    "h": 267.925,
    "s": 65.975,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52427,
    "c": 0.22628,
    "h": 299.6
  },
  "luminance": 0.12255
}

Semantic roles & 50–950 ramp

primary
#8137D6
secondary
#B7D792
accent
#E93F9A
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #8137D6

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

Preview Lab → · Contrast checker → · Palette generator →

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