#8120B4#8120B4

#8120B4 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.216 H 309.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8120B4
RGBrgb(129, 32, 180)
HSLhsl(279, 70%, 42%)
HSVhsv(279, 82%, 71%)
CMYKcmyk(28.3%, 82.2%, 0%, 29.4%)
CIE-LABlab(35.98, 62.06, -58.22)
CIE-LCHlch(35.98, 85.09, 316.83°)
OKLaboklab(47.64% 0.1385 -0.1653)
OKLCHoklch(47.64% 0.216 309.9)
XYZxyz(17.8063, 8.9958, 43.9695)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8120B4 #53B420
analogous
#3720B4 #8120B4 #B4209D
triadic
#8120B4 #B48120 #20B481
tetradic
#8120B4 #B43720 #53B420 #209DB4
square
#8120B4 #B43720 #53B420 #209DB4
split-complementary
#8120B4 #9DB420 #20B437
monochromatic
#370E4C #5C1780 #8120B4 #A236DB #BA6AE4

Accessibility & contrast

On white

7.50
#8120B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8120B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8120B4
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8120B4#FFFFFF#000000##FFFFFF
##8120B41.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#7A476C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8120b4;
/* rgb */ color: rgb(129, 32, 180);
/* oklch */ color: oklch(47.6% 0.216 309.9);
Tailwind
colors: {
  custom: {
    50: '#ab69cb',
    500: '#8120b4',
    950: '#000000',
  },
}
SCSS
$custom: #8120b4;
$custom-light: #ab69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8120b4",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 180
  },
  "hsl": {
    "h": 279.324,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47638,
    "c": 0.21566,
    "h": 309.9
  },
  "luminance": 0.08995
}

Semantic roles & 50–950 ramp

primary
#8120B4
secondary
#88CA66
accent
#ED3B78
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8120B4

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

Preview Lab → · Contrast checker → · Palette generator →

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