#8126A2#8126A2

#8126A2 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.194 H 315.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8126A2
RGBrgb(129, 38, 162)
HSLhsl(284, 62%, 39%)
HSVhsv(284, 77%, 64%)
CMYKcmyk(20.4%, 76.5%, 0%, 36.5%)
CIE-LABlab(35.33, 56.37, -48.50)
CIE-LCHlch(35.33, 74.36, 319.29°)
OKLaboklab(46.76% 0.1374 -0.1368)
OKLCHoklch(46.76% 0.194 315.1)
XYZxyz(16.2669, 8.6626, 34.9906)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8126A2 #47A226
analogous
#4326A2 #8126A2 #A22685
triadic
#8126A2 #A28126 #26A281
tetradic
#8126A2 #A24326 #47A226 #2685A2
square
#8126A2 #A24326 #47A226 #2685A2
split-complementary
#8126A2 #85A226 #26A243
monochromatic
#320F3F #5A1A70 #8126A2 #A735D0 #BC67DB

Accessibility & contrast

On white

7.69
#8126A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8126A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8126A2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8126A2#FFFFFF#000000##FFFFFF
##8126A21.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#21559F
Tritanopia (blue-blind)
#7E4263
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8126a2;
/* rgb */ color: rgb(129, 38, 162);
/* oklch */ color: oklch(46.8% 0.194 315.1);
Tailwind
colors: {
  custom: {
    50: '#aa6bbe',
    500: '#8126a2',
    950: '#000000',
  },
}
SCSS
$custom: #8126a2;
$custom-light: #aa6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8126a2",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 284.032,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46761,
    "c": 0.19387,
    "h": 315.1
  },
  "luminance": 0.08662
}

Semantic roles & 50–950 ramp

primary
#8126A2
secondary
#7CC163
accent
#E5436E
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8126A2

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

Preview Lab → · Contrast checker → · Palette generator →

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