#8128B0#8128B0

#8128B0 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.0% C 0.205 H 310.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8128B0
RGBrgb(129, 40, 176)
HSLhsl(279, 63%, 42%)
HSVhsv(279, 77%, 69%)
CMYKcmyk(26.7%, 77.3%, 0%, 31%)
CIE-LABlab(36.59, 58.55, -54.84)
CIE-LCHlch(36.59, 80.22, 316.88°)
OKLaboklab(47.97% 0.1331 -0.1554)
OKLCHoklch(47.97% 0.205 310.6)
XYZxyz(17.6470, 9.3197, 41.9351)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8128B0 #57B028
analogous
#3D28B0 #8128B0 #B0289B
triadic
#8128B0 #B08128 #28B081
tetradic
#8128B0 #B03D28 #57B028 #289BB0
square
#8128B0 #B03D28 #57B028 #289BB0
split-complementary
#8128B0 #9BB028 #28B03D
monochromatic
#38114C #5C1D7E #8128B0 #A141D4 #BA73DF

Accessibility & contrast

On white

7.33
#8128B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8128B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8128B0
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8128B0#FFFFFF#000000##FFFFFF
##8128B01.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#7B496B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8128b0;
/* rgb */ color: rgb(129, 40, 176);
/* oklch */ color: oklch(48.0% 0.205 310.6);
Tailwind
colors: {
  custom: {
    50: '#aa6cc8',
    500: '#8128b0',
    950: '#000000',
  },
}
SCSS
$custom: #8128b0;
$custom-light: #aa6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8128b0",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 279.265,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47974,
    "c": 0.20465,
    "h": 310.6
  },
  "luminance": 0.09319
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8128B0

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

Preview Lab → · Contrast checker → · Palette generator →

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