#8128BD#8128BD

#8128BD is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.0% C 0.217 H 306.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8128BD
RGBrgb(129, 40, 189)
HSLhsl(276, 65%, 45%)
HSVhsv(276, 79%, 74%)
CMYKcmyk(31.7%, 78.8%, 0%, 25.9%)
CIE-LABlab(37.59, 61.35, -60.91)
CIE-LCHlch(37.59, 86.45, 315.20°)
OKLaboklab(48.98% 0.1302 -0.1733)
OKLCHoklch(48.98% 0.217 306.9)
XYZxyz(18.9954, 9.8591, 49.0365)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8128BD #64BD28
analogous
#3628BD #8128BD #BD28AF
triadic
#8128BD #BD8128 #28BD81
tetradic
#8128BD #BD3628 #64BD28 #28AFBD
square
#8128BD #BD3628 #64BD28 #28AFBD
split-complementary
#8128BD #AFBD28 #28BD36
monochromatic
#3C1358 #5F1D8A #8128BD #9F4AD9 #BA7CE3

Accessibility & contrast

On white

7.07
#8128BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8128BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8128BD
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8128BD#FFFFFF#000000##FFFFFF
##8128BD1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#774F73
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8128bd;
/* rgb */ color: rgb(129, 40, 189);
/* oklch */ color: oklch(49.0% 0.217 306.9);
Tailwind
colors: {
  custom: {
    50: '#ab6dd2',
    500: '#8128bd',
    950: '#000000',
  },
}
SCSS
$custom: #8128bd;
$custom-light: #ab6dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8128bd",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 275.839,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48984,
    "c": 0.21675,
    "h": 306.9
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#8128BD
secondary
#98CB75
accent
#E84084
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8128BD

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

Preview Lab → · Contrast checker → · Palette generator →

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