#8126A3#8126A3

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

Color values

HEX#8126A3
RGBrgb(129, 38, 163)
HSLhsl(284, 62%, 39%)
HSVhsv(284, 77%, 64%)
CMYKcmyk(20.9%, 76.7%, 0%, 36.1%)
CIE-LABlab(35.40, 56.57, -48.99)
CIE-LCHlch(35.40, 74.83, 319.11°)
OKLaboklab(46.83% 0.1372 -0.1383)
OKLCHoklch(46.83% 0.195 314.8)
XYZxyz(16.3561, 8.6983, 35.4606)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8126A3 #48A326
analogous
#4326A3 #8126A3 #A32687
triadic
#8126A3 #A38126 #26A381
tetradic
#8126A3 #A34326 #48A326 #2687A3
square
#8126A3 #A34326 #48A326 #2687A3
split-complementary
#8126A3 #87A326 #26A343
monochromatic
#320F40 #5A1A71 #8126A3 #A636D0 #BC68DC

Accessibility & contrast

On white

7.67
#8126A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8126A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8126A3
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8126A3#FFFFFF#000000##FFFFFF
##8126A31.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#1F55A0
Tritanopia (blue-blind)
#7E4263
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8126a3;
/* rgb */ color: rgb(129, 38, 163);
/* oklch */ color: oklch(46.8% 0.195 314.8);
Tailwind
colors: {
  custom: {
    50: '#aa6bbf',
    500: '#8126a3',
    950: '#000000',
  },
}
SCSS
$custom: #8126a3;
$custom-light: #aa6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8126a3",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 283.68,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46833,
    "c": 0.19477,
    "h": 314.8
  },
  "luminance": 0.08698
}

Semantic roles & 50–950 ramp

primary
#8126A3
secondary
#7DC263
accent
#E5436F
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8126A3

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

Preview Lab → · Contrast checker → · Palette generator →

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