#8128BC#8128BC

#8128BC is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.9% C 0.216 H 307.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8128BC
RGBrgb(129, 40, 188)
HSLhsl(276, 65%, 45%)
HSVhsv(276, 79%, 74%)
CMYKcmyk(31.4%, 78.7%, 0%, 26.3%)
CIE-LABlab(37.51, 61.13, -60.45)
CIE-LCHlch(37.51, 85.97, 315.32°)
OKLaboklab(48.9% 0.1304 -0.1719)
OKLCHoklch(48.9% 0.216 307.2)
XYZxyz(18.8872, 9.8158, 48.4668)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8128BC #63BC28
analogous
#3728BC #8128BC #BC28AD
triadic
#8128BC #BC8128 #28BC81
tetradic
#8128BC #BC3728 #63BC28 #28ADBC
square
#8128BC #BC3728 #63BC28 #28ADBC
split-complementary
#8128BC #ADBC28 #28BC37
monochromatic
#3C1357 #5E1D8A #8128BC #9F49D8 #BA7BE3

Accessibility & contrast

On white

7.09
#8128BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8128BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8128BC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8128BC#FFFFFF#000000##FFFFFF
##8128BC1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#774E72
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8128bc;
/* rgb */ color: rgb(129, 40, 188);
/* oklch */ color: oklch(48.9% 0.216 307.2);
Tailwind
colors: {
  custom: {
    50: '#ab6dd1',
    500: '#8128bc',
    950: '#000000',
  },
}
SCSS
$custom: #8128bc;
$custom-light: #ab6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8128bc",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 188
  },
  "hsl": {
    "h": 276.081,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48904,
    "c": 0.21582,
    "h": 307.2
  },
  "luminance": 0.09816
}

Semantic roles & 50–950 ramp

primary
#8128BC
secondary
#97CB75
accent
#E84083
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8128BC

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

Preview Lab → · Contrast checker → · Palette generator →

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