#8138BD#8138BD

#8138BD is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.6% C 0.199 H 305.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8138BD
RGBrgb(129, 56, 189)
HSLhsl(273, 54%, 48%)
HSVhsv(273, 70%, 74%)
CMYKcmyk(31.7%, 70.4%, 0%, 25.9%)
CIE-LABlab(39.86, 54.86, -57.21)
CIE-LCHlch(39.86, 79.26, 313.80°)
OKLaboklab(50.59% 0.1155 -0.1625)
OKLCHoklch(50.59% 0.199 305.4)
XYZxyz(19.6507, 11.1697, 49.2550)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8138BD #74BD38
analogous
#3E38BD #8138BD #BD38B7
triadic
#8138BD #BD8138 #38BD81
tetradic
#8138BD #BD3E38 #74BD38 #38B7BD
square
#8138BD #BD3E38 #74BD38 #38B7BD
split-complementary
#8138BD #B7BD38 #38BD3E
monochromatic
#411C5F #612A8E #8138BD #9F62D0 #BB91DE

Accessibility & contrast

On white

6.49
#8138BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8138BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8138BD
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8138BD#FFFFFF#000000##FFFFFF
##8138BD1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#765777
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8138bd;
/* rgb */ color: rgb(129, 56, 189);
/* oklch */ color: oklch(50.6% 0.199 305.4);
Tailwind
colors: {
  custom: {
    50: '#aa75d2',
    500: '#8138bd',
    950: '#000000',
  },
}
SCSS
$custom: #8138bd;
$custom-light: #aa75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8138bd",
  "rgb": {
    "r": 129,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 272.932,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5059,
    "c": 0.19941,
    "h": 305.4
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

primary
#8138BD
secondary
#A5C987
accent
#DE4A8D
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8138BD

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

Preview Lab → · Contrast checker → · Palette generator →

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