#8121B4#8121B4

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

Color values

HEX#8121B4
RGBrgb(129, 33, 180)
HSLhsl(279, 69%, 42%)
HSVhsv(279, 82%, 71%)
CMYKcmyk(28.3%, 81.7%, 0%, 29.4%)
CIE-LABlab(36.08, 61.76, -58.04)
CIE-LCHlch(36.08, 84.75, 316.77°)
OKLaboklab(47.71% 0.1378 -0.1648)
OKLCHoklch(47.71% 0.215 309.9)
XYZxyz(17.8337, 9.0505, 43.9786)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8121B4 #54B421
analogous
#3821B4 #8121B4 #B4219E
triadic
#8121B4 #B48121 #21B481
tetradic
#8121B4 #B43821 #54B421 #219EB4
square
#8121B4 #B43821 #54B421 #219EB4
split-complementary
#8121B4 #9EB421 #21B438
monochromatic
#370E4D #5C1880 #8121B4 #A238DA #BA6BE4

Accessibility & contrast

On white

7.47
#8121B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8121B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8121B4
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8121B4#FFFFFF#000000##FFFFFF
##8121B41.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8121b4;
/* rgb */ color: rgb(129, 33, 180);
/* oklch */ color: oklch(47.7% 0.215 309.9);
Tailwind
colors: {
  custom: {
    50: '#ab69cb',
    500: '#8121b4',
    950: '#000000',
  },
}
SCSS
$custom: #8121b4;
$custom-light: #ab69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8121b4",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 180
  },
  "hsl": {
    "h": 279.184,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47711,
    "c": 0.21482,
    "h": 309.9
  },
  "luminance": 0.0905
}

Semantic roles & 50–950 ramp

primary
#8121B4
secondary
#89CA67
accent
#EC3C79
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8121B4

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

Preview Lab → · Contrast checker → · Palette generator →

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