#8124BB#8124BB

#8124BB is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.5% C 0.219 H 307.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8124BB
RGBrgb(129, 36, 187)
HSLhsl(277, 68%, 44%)
HSVhsv(277, 81%, 73%)
CMYKcmyk(31%, 80.7%, 0%, 26.7%)
CIE-LABlab(36.96, 62.28, -60.75)
CIE-LCHlch(36.96, 87.00, 315.71°)
OKLaboklab(48.5% 0.1338 -0.1728)
OKLCHoklch(48.5% 0.219 307.7)
XYZxyz(18.6519, 9.5170, 47.8585)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8124BB #5EBB24
analogous
#3624BB #8124BB #BB24A9
triadic
#8124BB #BB8124 #24BB81
tetradic
#8124BB #BB3624 #5EBB24 #24A9BB
square
#8124BB #BB3624 #5EBB24 #24A9BB
split-complementary
#8124BB #A9BB24 #24BB36
monochromatic
#3A1054 #5E1A88 #8124BB #A042DB #BA75E4

Accessibility & contrast

On white

7.23
#8124BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8124BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8124BB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8124BB#FFFFFF#000000##FFFFFF
##8124BB1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#774C71
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8124bb;
/* rgb */ color: rgb(129, 36, 187);
/* oklch */ color: oklch(48.5% 0.219 307.7);
Tailwind
colors: {
  custom: {
    50: '#ab6bd0',
    500: '#8124bb',
    950: '#000000',
  },
}
SCSS
$custom: #8124bb;
$custom-light: #ab6bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8124bb",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 276.954,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48497,
    "c": 0.21854,
    "h": 307.7
  },
  "luminance": 0.09517
}

Semantic roles & 50–950 ramp

primary
#8124BB
secondary
#93CC6F
accent
#EB3D80
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8124BB

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

Preview Lab → · Contrast checker → · Palette generator →

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