#8126BC#8126BC

#8126BC is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.218 H 307.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8126BC
RGBrgb(129, 38, 188)
HSLhsl(276, 66%, 44%)
HSVhsv(276, 80%, 74%)
CMYKcmyk(31.4%, 79.8%, 0%, 26.3%)
CIE-LABlab(37.27, 61.82, -60.84)
CIE-LCHlch(37.27, 86.74, 315.46°)
OKLaboklab(48.74% 0.132 -0.1731)
OKLCHoklch(48.74% 0.218 307.3)
XYZxyz(18.8215, 9.6844, 48.4450)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8126BC #61BC26
analogous
#3626BC #8126BC #BC26AC
triadic
#8126BC #BC8126 #26BC81
tetradic
#8126BC #BC3626 #61BC26 #26ACBC
square
#8126BC #BC3626 #61BC26 #26ACBC
split-complementary
#8126BC #ACBC26 #26BC36
monochromatic
#3B1156 #5E1C89 #8126BC #9F46DA #BA79E4

Accessibility & contrast

On white

7.15
#8126BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8126BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8126BC
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8126BC#FFFFFF#000000##FFFFFF
##8126BC1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#774D72
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8126bc;
/* rgb */ color: rgb(129, 38, 188);
/* oklch */ color: oklch(48.7% 0.218 307.3);
Tailwind
colors: {
  custom: {
    50: '#ab6cd1',
    500: '#8126bc',
    950: '#000000',
  },
}
SCSS
$custom: #8126bc;
$custom-light: #ab6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8126bc",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 188
  },
  "hsl": {
    "h": 276.4,
    "s": 66.372,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48737,
    "c": 0.21768,
    "h": 307.3
  },
  "luminance": 0.09684
}

Semantic roles & 50–950 ramp

primary
#8126BC
secondary
#95CC72
accent
#E93F82
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #8126BC

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

Preview Lab → · Contrast checker → · Palette generator →

#8126BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva