#8128B9#8128B9

#8128B9 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.213 H 308.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8128B9
RGBrgb(129, 40, 185)
HSLhsl(277, 64%, 44%)
HSVhsv(277, 78%, 73%)
CMYKcmyk(30.3%, 78.4%, 0%, 27.5%)
CIE-LABlab(37.28, 60.48, -59.06)
CIE-LCHlch(37.28, 84.53, 315.68°)
OKLaboklab(48.67% 0.1312 -0.1679)
OKLCHoklch(48.67% 0.213 308)
XYZxyz(18.5672, 9.6878, 46.7813)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8128B9 #60B928
analogous
#3928B9 #8128B9 #B928A8
triadic
#8128B9 #B98128 #28B981
tetradic
#8128B9 #B93928 #60B928 #28A8B9
square
#8128B9 #B93928 #60B928 #28A8B9
split-complementary
#8128B9 #A8B928 #28B939
monochromatic
#3B1254 #5E1D87 #8128B9 #A047D7 #BA79E2

Accessibility & contrast

On white

7.15
#8128B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8128B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8128B9
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8128B9#FFFFFF#000000##FFFFFF
##8128B91.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#784D70
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8128b9;
/* rgb */ color: rgb(129, 40, 185);
/* oklch */ color: oklch(48.7% 0.213 308.0);
Tailwind
colors: {
  custom: {
    50: '#ab6dcf',
    500: '#8128b9',
    950: '#000000',
  },
}
SCSS
$custom: #8128b9;
$custom-light: #ab6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8128b9",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 185
  },
  "hsl": {
    "h": 276.828,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48668,
    "c": 0.21302,
    "h": 308
  },
  "luminance": 0.09687
}

Semantic roles & 50–950 ramp

primary
#8128B9
secondary
#94CA73
accent
#E74081
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8128B9

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

Preview Lab → · Contrast checker → · Palette generator →

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