#8128B7#8128B7

#8128B7 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.211 H 308.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8128B7
RGBrgb(129, 40, 183)
HSLhsl(277, 64%, 44%)
HSVhsv(277, 78%, 72%)
CMYKcmyk(29.5%, 78.1%, 0%, 28.2%)
CIE-LABlab(37.12, 60.05, -58.13)
CIE-LCHlch(37.12, 83.57, 315.93°)
OKLaboklab(48.51% 0.1316 -0.1651)
OKLCHoklch(48.51% 0.211 308.6)
XYZxyz(18.3575, 9.6039, 45.6772)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8128B7 #5EB728
analogous
#3928B7 #8128B7 #B728A5
triadic
#8128B7 #B78128 #28B781
tetradic
#8128B7 #B73928 #5EB728 #28A5B7
square
#8128B7 #B73928 #5EB728 #28A5B7
split-complementary
#8128B7 #A5B728 #28B739
monochromatic
#3A1253 #5E1D85 #8128B7 #A046D6 #BA78E1

Accessibility & contrast

On white

7.19
#8128B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8128B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8128B7
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8128B7#FFFFFF#000000##FFFFFF
##8128B71.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0058B4
Tritanopia (blue-blind)
#784C6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8128b7;
/* rgb */ color: rgb(129, 40, 183);
/* oklch */ color: oklch(48.5% 0.211 308.6);
Tailwind
colors: {
  custom: {
    50: '#ab6ccd',
    500: '#8128b7',
    950: '#000000',
  },
}
SCSS
$custom: #8128b7;
$custom-light: #ab6ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#8128b7",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 277.343,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48512,
    "c": 0.21116,
    "h": 308.6
  },
  "luminance": 0.09604
}

Semantic roles & 50–950 ramp

primary
#8128B7
secondary
#93C972
accent
#E74180
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8128B7

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

Preview Lab → · Contrast checker → · Palette generator →

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