#8121B2#8121B2

#8121B2 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.213 H 310.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8121B2
RGBrgb(129, 33, 178)
HSLhsl(280, 69%, 41%)
HSVhsv(280, 81%, 70%)
CMYKcmyk(27.5%, 81.5%, 0%, 30.2%)
CIE-LABlab(35.93, 61.34, -57.11)
CIE-LCHlch(35.93, 83.81, 317.05°)
OKLaboklab(47.55% 0.1383 -0.1621)
OKLCHoklch(47.55% 0.213 310.5)
XYZxyz(17.6314, 8.9696, 42.9134)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8121B2 #52B221
analogous
#3921B2 #8121B2 #B2219B
triadic
#8121B2 #B28121 #21B281
tetradic
#8121B2 #B23921 #52B221 #219BB2
square
#8121B2 #B23921 #52B221 #219BB2
split-complementary
#8121B2 #9BB221 #21B239
monochromatic
#360E4B #5C177E #8121B2 #A336DA #BA6AE3

Accessibility & contrast

On white

7.52
#8121B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8121B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8121B2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8121B2#FFFFFF#000000##FFFFFF
##8121B21.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#7A476B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8121b2;
/* rgb */ color: rgb(129, 33, 178);
/* oklch */ color: oklch(47.6% 0.213 310.5);
Tailwind
colors: {
  custom: {
    50: '#ab69ca',
    500: '#8121b2',
    950: '#000000',
  },
}
SCSS
$custom: #8121b2;
$custom-light: #ab69ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8121b2",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 178
  },
  "hsl": {
    "h": 279.724,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47554,
    "c": 0.21304,
    "h": 310.5
  },
  "luminance": 0.08969
}

Semantic roles & 50–950 ramp

primary
#8121B2
secondary
#87C966
accent
#EC3C77
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8121B2

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

Preview Lab → · Contrast checker → · Palette generator →

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