#8126B3#8126B3

#8126B3 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.0% C 0.209 H 309.8°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8126B3
RGBrgb(129, 38, 179)
HSLhsl(279, 65%, 43%)
HSVhsv(279, 79%, 70%)
CMYKcmyk(27.9%, 78.8%, 0%, 29.8%)
CIE-LABlab(36.57, 59.90, -56.65)
CIE-LCHlch(36.57, 82.45, 316.59°)
OKLaboklab(48.03% 0.1342 -0.1608)
OKLCHoklch(48.03% 0.209 309.8)
XYZxyz(17.8814, 9.3084, 43.4938)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8126B3 #58B326
analogous
#3A26B3 #8126B3 #B3269F
triadic
#8126B3 #B38126 #26B381
tetradic
#8126B3 #B33A26 #58B326 #269FB3
square
#8126B3 #B33A26 #58B326 #269FB3
split-complementary
#8126B3 #9FB326 #26B33A
monochromatic
#38114E #5D1B81 #8126B3 #A140D6 #BA72E1

Accessibility & contrast

On white

7.34
#8126B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8126B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8126B3
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8126B3#FFFFFF#000000##FFFFFF
##8126B31.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#7A496C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8126b3;
/* rgb */ color: rgb(129, 38, 179);
/* oklch */ color: oklch(48.0% 0.209 309.8);
Tailwind
colors: {
  custom: {
    50: '#ab6bcb',
    500: '#8126b3',
    950: '#000000',
  },
}
SCSS
$custom: #8126b3;
$custom-light: #ab6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8126b3",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 278.723,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4803,
    "c": 0.2094,
    "h": 309.8
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#8126B3
secondary
#8DC86D
accent
#E8407B
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8126B3

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

Preview Lab → · Contrast checker → · Palette generator →

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