#8120BB#8120BB

#8120BB is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.2% C 0.222 H 308.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8120BB
RGBrgb(129, 32, 187)
HSLhsl(278, 71%, 43%)
HSVhsv(278, 83%, 73%)
CMYKcmyk(31%, 82.9%, 0%, 26.7%)
CIE-LABlab(36.53, 63.52, -61.45)
CIE-LCHlch(36.53, 88.38, 315.95°)
OKLaboklab(48.2% 0.1366 -0.1748)
OKLCHoklch(48.2% 0.222 308)
XYZxyz(18.5375, 9.2883, 47.8203)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8120BB #5ABB20
analogous
#3320BB #8120BB #BB20A8
triadic
#8120BB #BB8120 #20BB81
tetradic
#8120BB #BB3320 #5ABB20 #20A8BB
square
#8120BB #BB3320 #5ABB20 #20A8BB
split-complementary
#8120BB #A8BB20 #20BB33
monochromatic
#390E52 #5D1787 #8120BB #A13BDD #BA6FE6

Accessibility & contrast

On white

7.35
#8120BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8120BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8120BB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8120BB#FFFFFF#000000##FFFFFF
##8120BB1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#774B70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8120bb;
/* rgb */ color: rgb(129, 32, 187);
/* oklch */ color: oklch(48.2% 0.222 308.0);
Tailwind
colors: {
  custom: {
    50: '#ab69d0',
    500: '#8120bb',
    950: '#000000',
  },
}
SCSS
$custom: #8120bb;
$custom-light: #ab69d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8120bb",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 187
  },
  "hsl": {
    "h": 277.548,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48199,
    "c": 0.22187,
    "h": 308
  },
  "luminance": 0.09288
}

Semantic roles & 50–950 ramp

primary
#8120BB
secondary
#8FCD6A
accent
#EE3A7D
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8120BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8120BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva