#8139D5#8139D5

#8139D5 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.6% C 0.223 H 299.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8139D5
RGBrgb(129, 57, 213)
HSLhsl(268, 65%, 53%)
HSVhsv(268, 73%, 84%)
CMYKcmyk(39.4%, 73.2%, 0%, 16.5%)
CIE-LABlab(41.84, 60.10, -67.93)
CIE-LCHlch(41.84, 90.70, 311.50°)
OKLaboklab(52.56% 0.1101 -0.1941)
OKLCHoklch(52.56% 0.223 299.6)
XYZxyz(22.5236, 12.3972, 64.1441)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8139D5 #8DD539
analogous
#393FD5 #8139D5 #CF39D5
triadic
#8139D5 #D58139 #39D581
tetradic
#8139D5 #D5393F #8DD539 #39D5CF
square
#8139D5 #D5393F #8DD539 #39D5CF
split-complementary
#8139D5 #D5CF39 #3FD539
monochromatic
#461A7A #6325AC #8139D5 #A16BE0 #C19EEA

Accessibility & contrast

On white

6.04
#8139D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8139D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8139D5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8139D5#FFFFFF#000000##FFFFFF
##8139D51.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D9
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#6D6184
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8139d5;
/* rgb */ color: rgb(129, 57, 213);
/* oklch */ color: oklch(52.6% 0.223 299.6);
Tailwind
colors: {
  custom: {
    50: '#ac76e3',
    500: '#8139d5',
    950: '#000000',
  },
}
SCSS
$custom: #8139d5;
$custom-light: #ac76e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8139d5",
  "rgb": {
    "r": 129,
    "g": 57,
    "b": 213
  },
  "hsl": {
    "h": 267.692,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52559,
    "c": 0.22314,
    "h": 299.6
  },
  "luminance": 0.12397
}

Semantic roles & 50–950 ramp

primary
#8139D5
secondary
#B7D793
accent
#E8409A
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #8139D5

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

Preview Lab → · Contrast checker → · Palette generator →

#8139D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva