#8124BD#8124BD

#8124BD is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.7% C 0.220 H 307.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8124BD
RGBrgb(129, 36, 189)
HSLhsl(276, 68%, 44%)
HSVhsv(276, 81%, 74%)
CMYKcmyk(31.7%, 81%, 0%, 25.9%)
CIE-LABlab(37.12, 62.70, -61.67)
CIE-LCHlch(37.12, 87.95, 315.48°)
OKLaboklab(48.66% 0.1333 -0.1755)
OKLCHoklch(48.66% 0.22 307.2)
XYZxyz(18.8675, 9.6032, 48.9939)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8124BD #60BD24
analogous
#3524BD #8124BD #BD24AD
triadic
#8124BD #BD8124 #24BD81
tetradic
#8124BD #BD3524 #60BD24 #24ADBD
square
#8124BD #BD3524 #60BD24 #24ADBD
split-complementary
#8124BD #ADBD24 #24BD35
monochromatic
#3B1056 #5E1A8A #8124BD #A043DB #BA76E5

Accessibility & contrast

On white

7.19
#8124BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8124BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8124BD
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8124BD#FFFFFF#000000##FFFFFF
##8124BD1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#774D72
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8124bd;
/* rgb */ color: rgb(129, 36, 189);
/* oklch */ color: oklch(48.7% 0.220 307.2);
Tailwind
colors: {
  custom: {
    50: '#ab6bd2',
    500: '#8124bd',
    950: '#000000',
  },
}
SCSS
$custom: #8124bd;
$custom-light: #ab6bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8124bd",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 276.471,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48657,
    "c": 0.22036,
    "h": 307.2
  },
  "luminance": 0.09603
}

Semantic roles & 50–950 ramp

primary
#8124BD
secondary
#94CC70
accent
#EB3D81
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #8124BD

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

Preview Lab → · Contrast checker → · Palette generator →

#8124BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva