#8128B1#8128B1

#8128B1 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.206 H 310.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8128B1
RGBrgb(129, 40, 177)
HSLhsl(279, 63%, 43%)
HSVhsv(279, 77%, 69%)
CMYKcmyk(27.1%, 77.4%, 0%, 30.6%)
CIE-LABlab(36.67, 58.76, -55.31)
CIE-LCHlch(36.67, 80.70, 316.73°)
OKLaboklab(48.05% 0.1329 -0.1568)
OKLCHoklch(48.05% 0.206 310.3)
XYZxyz(17.7463, 9.3594, 42.4581)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8128B1 #58B128
analogous
#3C28B1 #8128B1 #B1289D
triadic
#8128B1 #B18128 #28B181
tetradic
#8128B1 #B13C28 #58B128 #289DB1
square
#8128B1 #B13C28 #58B128 #289DB1
split-complementary
#8128B1 #9DB128 #28B13C
monochromatic
#38114D #5D1D7F #8128B1 #A142D4 #BA74E0

Accessibility & contrast

On white

7.31
#8128B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8128B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8128B1
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8128B1#FFFFFF#000000##FFFFFF
##8128B11.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0058AE
Tritanopia (blue-blind)
#7A496C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8128b1;
/* rgb */ color: rgb(129, 40, 177);
/* oklch */ color: oklch(48.0% 0.206 310.3);
Tailwind
colors: {
  custom: {
    50: '#aa6cc9',
    500: '#8128b1',
    950: '#000000',
  },
}
SCSS
$custom: #8128b1;
$custom-light: #aa6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8128b1",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 278.978,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4805,
    "c": 0.20558,
    "h": 310.3
  },
  "luminance": 0.09359
}

Semantic roles & 50–950 ramp

primary
#8128B1
secondary
#8DC76E
accent
#E6427B
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8128B1

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

Preview Lab → · Contrast checker → · Palette generator →

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