#8138BB#8138BB

#8138BB is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.197 H 305.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8138BB
RGBrgb(129, 56, 187)
HSLhsl(273, 54%, 48%)
HSVhsv(273, 70%, 73%)
CMYKcmyk(31%, 70.1%, 0%, 26.7%)
CIE-LABlab(39.72, 54.39, -56.27)
CIE-LCHlch(39.72, 78.26, 314.03°)
OKLaboklab(50.44% 0.1158 -0.1598)
OKLCHoklch(50.44% 0.197 305.9)
XYZxyz(19.4351, 11.0835, 48.1195)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8138BB #72BB38
analogous
#4038BB #8138BB #BB38B3
triadic
#8138BB #BB8138 #38BB81
tetradic
#8138BB #BB4038 #72BB38 #38B3BB
square
#8138BB #BB4038 #72BB38 #38B3BB
split-complementary
#8138BB #B3BB38 #38BB40
monochromatic
#401C5D #612A8C #8138BB #9E61D0 #BB90DE

Accessibility & contrast

On white

6.53
#8138BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8138BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8138BB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8138BB#FFFFFF#000000##FFFFFF
##8138BB1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#055EB8
Tritanopia (blue-blind)
#775675
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8138bb;
/* rgb */ color: rgb(129, 56, 187);
/* oklch */ color: oklch(50.4% 0.197 305.9);
Tailwind
colors: {
  custom: {
    50: '#aa75d0',
    500: '#8138bb',
    950: '#000000',
  },
}
SCSS
$custom: #8138bb;
$custom-light: #aa75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8138bb",
  "rgb": {
    "r": 129,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 273.435,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50442,
    "c": 0.19734,
    "h": 305.9
  },
  "luminance": 0.11083
}

Semantic roles & 50–950 ramp

primary
#8138BB
secondary
#A4C886
accent
#DD4B8B
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8138BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8138BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva