#8138BC#8138BC

#8138BC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.5% C 0.198 H 305.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8138BC
RGBrgb(129, 56, 188)
HSLhsl(273, 54%, 48%)
HSVhsv(273, 70%, 74%)
CMYKcmyk(31.4%, 70.2%, 0%, 26.3%)
CIE-LABlab(39.79, 54.62, -56.74)
CIE-LCHlch(39.79, 78.76, 313.91°)
OKLaboklab(50.52% 0.1157 -0.1611)
OKLCHoklch(50.52% 0.198 305.7)
XYZxyz(19.5425, 11.1265, 48.6853)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8138BC #73BC38
analogous
#3F38BC #8138BC #BC38B5
triadic
#8138BC #BC8138 #38BC81
tetradic
#8138BC #BC3F38 #73BC38 #38B5BC
square
#8138BC #BC3F38 #73BC38 #38B5BC
split-complementary
#8138BC #B5BC38 #38BC3F
monochromatic
#401C5E #612A8D #8138BC #9E61D0 #BB90DE

Accessibility & contrast

On white

6.51
#8138BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8138BC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8138BC#FFFFFF#000000##FFFFFF
##8138BC1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#765676
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8138bc;
/* rgb */ color: rgb(129, 56, 188);
/* oklch */ color: oklch(50.5% 0.198 305.7);
Tailwind
colors: {
  custom: {
    50: '#aa75d1',
    500: '#8138bc',
    950: '#000000',
  },
}
SCSS
$custom: #8138bc;
$custom-light: #aa75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8138bc",
  "rgb": {
    "r": 129,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 273.182,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50516,
    "c": 0.19837,
    "h": 305.7
  },
  "luminance": 0.11126
}

Semantic roles & 50–950 ramp

primary
#8138BC
secondary
#A4C987
accent
#DD4A8C
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8138BC

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

Preview Lab → · Contrast checker → · Palette generator →

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