#8124B4#8124B4

#8124B4 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.9% C 0.212 H 309.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8124B4
RGBrgb(129, 36, 180)
HSLhsl(279, 67%, 42%)
HSVhsv(279, 80%, 71%)
CMYKcmyk(28.3%, 80%, 0%, 29.4%)
CIE-LABlab(36.41, 60.79, -57.50)
CIE-LCHlch(36.41, 83.68, 316.59°)
OKLaboklab(47.94% 0.1355 -0.1633)
OKLCHoklch(47.94% 0.212 309.7)
XYZxyz(17.9207, 9.2245, 44.0076)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8124B4 #57B424
analogous
#3924B4 #8124B4 #B4249F
triadic
#8124B4 #B48124 #24B481
tetradic
#8124B4 #B43924 #57B424 #249FB4
square
#8124B4 #B43924 #57B424 #249FB4
split-complementary
#8124B4 #9FB424 #24B439
monochromatic
#38104E #5C1A81 #8124B4 #A13DD8 #BA70E2

Accessibility & contrast

On white

7.38
#8124B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8124B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8124B4
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8124B4#FFFFFF#000000##FFFFFF
##8124B41.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#79496D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8124b4;
/* rgb */ color: rgb(129, 36, 180);
/* oklch */ color: oklch(47.9% 0.212 309.7);
Tailwind
colors: {
  custom: {
    50: '#ab6bcb',
    500: '#8124b4',
    950: '#000000',
  },
}
SCSS
$custom: #8124b4;
$custom-light: #ab6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8124b4",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 180
  },
  "hsl": {
    "h": 278.75,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47943,
    "c": 0.21218,
    "h": 309.7
  },
  "luminance": 0.09224
}

Semantic roles & 50–950 ramp

primary
#8124B4
secondary
#8CC96B
accent
#EA3E7B
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8124B4

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

Preview Lab → · Contrast checker → · Palette generator →

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