#8126DD#8126DD

#8126DD is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.5% C 0.248 H 299.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8126DD
RGBrgb(129, 38, 221)
HSLhsl(270, 73%, 51%)
HSVhsv(270, 83%, 87%)
CMYKcmyk(41.6%, 82.8%, 0%, 13.3%)
CIE-LABlab(40.04, 69.11, -75.48)
CIE-LCHlch(40.04, 102.33, 312.48°)
OKLaboklab(51.51% 0.1222 -0.216)
OKLCHoklch(51.51% 0.248 299.5)
XYZxyz(22.7942, 11.2735, 69.3677)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8126DD #82DD26
analogous
#2626DD #8126DD #DC26DD
triadic
#8126DD #DD8126 #26DD81
tetradic
#8126DD #DD2626 #82DD26 #26DDDC
square
#8126DD #DD2626 #82DD26 #26DDDC
split-complementary
#8126DD #DDDC26 #26DD26
monochromatic
#441376 #631BAB #8126DD #A05BE5 #BE90EE

Accessibility & contrast

On white

6.45
#8126DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8126DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8126DD
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8126DD#FFFFFF#000000##FFFFFF
##8126DD1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE2
Deuteranopia (green-blind)
#005DDA
Tritanopia (blue-blind)
#6A5C85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8126dd;
/* rgb */ color: rgb(129, 38, 221);
/* oklch */ color: oklch(51.5% 0.248 299.5);
Tailwind
colors: {
  custom: {
    50: '#ae6ee9',
    500: '#8126dd',
    950: '#000000',
  },
}
SCSS
$custom: #8126dd;
$custom-light: #ae6ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#8126dd",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 221
  },
  "hsl": {
    "h": 269.836,
    "s": 72.908,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51507,
    "c": 0.2482,
    "h": 299.5
  },
  "luminance": 0.11274
}

Semantic roles & 50–950 ramp

primary
#8126DD
secondary
#B0D887
accent
#F03894
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #8126DD

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

Preview Lab → · Contrast checker → · Palette generator →

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