#8126AF#8126AF

#8126AF is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.7% C 0.206 H 311.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8126AF
RGBrgb(129, 38, 175)
HSLhsl(280, 64%, 42%)
HSVhsv(280, 78%, 69%)
CMYKcmyk(26.3%, 78.3%, 0%, 31.4%)
CIE-LABlab(36.27, 59.06, -54.77)
CIE-LCHlch(36.27, 80.54, 317.16°)
OKLaboklab(47.72% 0.135 -0.1552)
OKLCHoklch(47.72% 0.206 311)
XYZxyz(17.4827, 9.1489, 41.3941)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8126AF #54AF26
analogous
#3D26AF #8126AF #AF2699
triadic
#8126AF #AF8126 #26AF81
tetradic
#8126AF #AF3D26 #54AF26 #2699AF
square
#8126AF #AF3D26 #54AF26 #2699AF
split-complementary
#8126AF #99AF26 #26AF3D
monochromatic
#37104A #5C1B7D #8126AF #A23DD5 #BA70E0

Accessibility & contrast

On white

7.42
#8126AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8126AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8126AF
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8126AF#FFFFFF#000000##FFFFFF
##8126AF1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#7B486A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8126af;
/* rgb */ color: rgb(129, 38, 175);
/* oklch */ color: oklch(47.7% 0.206 311.0);
Tailwind
colors: {
  custom: {
    50: '#aa6bc8',
    500: '#8126af',
    950: '#000000',
  },
}
SCSS
$custom: #8126af;
$custom-light: #aa6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8126af",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 279.854,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47723,
    "c": 0.20573,
    "h": 311
  },
  "luminance": 0.09148
}

Semantic roles & 50–950 ramp

primary
#8126AF
secondary
#89C76A
accent
#E74079
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8126AF

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

Preview Lab → · Contrast checker → · Palette generator →

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