#8126B7#8126B7

#8126B7 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.213 H 308.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8126B7
RGBrgb(129, 38, 183)
HSLhsl(278, 66%, 43%)
HSVhsv(278, 79%, 72%)
CMYKcmyk(29.5%, 79.2%, 0%, 28.2%)
CIE-LABlab(36.88, 60.75, -58.52)
CIE-LCHlch(36.88, 84.35, 316.07°)
OKLaboklab(48.34% 0.1332 -0.1663)
OKLCHoklch(48.34% 0.213 308.7)
XYZxyz(18.2918, 9.4726, 45.6553)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8126B7 #5CB726
analogous
#3826B7 #8126B7 #B726A4
triadic
#8126B7 #B78126 #26B781
tetradic
#8126B7 #B73826 #5CB726 #26A4B7
square
#8126B7 #B73826 #5CB726 #26A4B7
split-complementary
#8126B7 #A4B726 #26B738
monochromatic
#3A1152 #5D1B84 #8126B7 #A042D8 #BA75E2

Accessibility & contrast

On white

7.26
#8126B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8126B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8126B7
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8126B7#FFFFFF#000000##FFFFFF
##8126B71.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0058B4
Tritanopia (blue-blind)
#784B6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8126b7;
/* rgb */ color: rgb(129, 38, 183);
/* oklch */ color: oklch(48.3% 0.213 308.7);
Tailwind
colors: {
  custom: {
    50: '#ab6cce',
    500: '#8126b7',
    950: '#000000',
  },
}
SCSS
$custom: #8126b7;
$custom-light: #ab6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#8126b7",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 277.655,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48341,
    "c": 0.21307,
    "h": 308.7
  },
  "luminance": 0.09472
}

Semantic roles & 50–950 ramp

primary
#8126B7
secondary
#91CA6F
accent
#E93F7E
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8126B7

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

Preview Lab → · Contrast checker → · Palette generator →

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