#8124D9#8124D9

#8124D9 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 51.0% C 0.246 H 300.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8124D9
RGBrgb(129, 36, 217)
HSLhsl(271, 72%, 50%)
HSVhsv(271, 83%, 85%)
CMYKcmyk(40.6%, 83.4%, 0%, 14.9%)
CIE-LABlab(39.48, 68.82, -74.10)
CIE-LCHlch(39.48, 101.13, 312.89°)
OKLaboklab(51.01% 0.1247 -0.212)
OKLCHoklch(51.01% 0.246 300.5)
XYZxyz(22.2054, 10.9384, 66.5736)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8124D9 #7CD924
analogous
#2724D9 #8124D9 #D924D7
triadic
#8124D9 #D98124 #24D981
tetradic
#8124D9 #D92724 #7CD924 #24D7D9
square
#8124D9 #D92724 #7CD924 #24D7D9
split-complementary
#8124D9 #D7D924 #24D927
monochromatic
#431370 #621BA5 #8124D9 #9F57E3 #BD8CEC

Accessibility & contrast

On white

6.59
#8124D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8124D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8124D9
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8124D9#FFFFFF#000000##FFFFFF
##8124D91.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDE
Deuteranopia (green-blind)
#005CD6
Tritanopia (blue-blind)
#6C5A82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8124d9;
/* rgb */ color: rgb(129, 36, 217);
/* oklch */ color: oklch(51.0% 0.246 300.5);
Tailwind
colors: {
  custom: {
    50: '#ae6de6',
    500: '#8124d9',
    950: '#000000',
  },
}
SCSS
$custom: #8124d9;
$custom-light: #ae6de6;
$custom-dark: #000000;
JSON
{
  "hex": "#8124d9",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 217
  },
  "hsl": {
    "h": 270.829,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51014,
    "c": 0.24597,
    "h": 300.5
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#8124D9
secondary
#ABD683
accent
#EE3A91
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #8124D9

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

Preview Lab → · Contrast checker → · Palette generator →

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