#8124B1#8124B1

#8124B1 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.7% C 0.209 H 310.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8124B1
RGBrgb(129, 36, 177)
HSLhsl(280, 66%, 42%)
HSVhsv(280, 80%, 69%)
CMYKcmyk(27.1%, 79.7%, 0%, 30.6%)
CIE-LABlab(36.18, 60.16, -56.10)
CIE-LCHlch(36.18, 82.26, 317.00°)
OKLaboklab(47.71% 0.1362 -0.1591)
OKLCHoklch(47.71% 0.209 310.6)
XYZxyz(17.6184, 9.1036, 42.4155)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8124B1 #54B124
analogous
#3A24B1 #8124B1 #B1249B
triadic
#8124B1 #B18124 #24B181
tetradic
#8124B1 #B13A24 #54B124 #249BB1
square
#8124B1 #B13A24 #54B124 #249BB1
split-complementary
#8124B1 #9BB124 #24B13A
monochromatic
#370F4B #5C1A7E #8124B1 #A23BD7 #BA6EE1

Accessibility & contrast

On white

7.45
#8124B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8124B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8124B1
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8124B1#FFFFFF#000000##FFFFFF
##8124B11.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#7A486B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8124b1;
/* rgb */ color: rgb(129, 36, 177);
/* oklch */ color: oklch(47.7% 0.209 310.6);
Tailwind
colors: {
  custom: {
    50: '#ab6ac9',
    500: '#8124b1',
    950: '#000000',
  },
}
SCSS
$custom: #8124b1;
$custom-light: #ab6ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#8124b1",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 279.574,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4771,
    "c": 0.20946,
    "h": 310.6
  },
  "luminance": 0.09103
}

Semantic roles & 50–950 ramp

primary
#8124B1
secondary
#89C869
accent
#E93F79
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8124B1

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

Preview Lab → · Contrast checker → · Palette generator →

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