#7126A4#7126A4

#7126A4 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.191 H 307.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7126A4
RGBrgb(113, 38, 164)
HSLhsl(276, 62%, 40%)
HSVhsv(276, 77%, 64%)
CMYKcmyk(31.1%, 76.8%, 0%, 35.7%)
CIE-LABlab(33.09, 53.74, -53.44)
CIE-LCHlch(33.09, 75.79, 315.16°)
OKLaboklab(44.74% 0.1155 -0.1519)
OKLCHoklch(44.74% 0.191 307.2)
XYZxyz(14.2026, 7.5775, 35.8292)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7126A4 #59A426
analogous
#3226A4 #7126A4 #A42698
triadic
#7126A4 #A47126 #26A471
tetradic
#7126A4 #A43226 #59A426 #2698A4
square
#7126A4 #A43226 #59A426 #2698A4
split-complementary
#7126A4 #98A426 #26A432
monochromatic
#2D0F41 #4F1A72 #7126A4 #9237D1 #AD68DC

Accessibility & contrast

On white

8.35
#7126A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7126A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7126A4
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7126A4#FFFFFF#000000##FFFFFF
##7126A41.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA7
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#684564
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7126a4;
/* rgb */ color: rgb(113, 38, 164);
/* oklch */ color: oklch(44.7% 0.191 307.2);
Tailwind
colors: {
  custom: {
    50: '#9f69c0',
    500: '#7126a4',
    950: '#000000',
  },
}
SCSS
$custom: #7126a4;
$custom-light: #9f69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7126a4",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 275.714,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44738,
    "c": 0.19081,
    "h": 307.2
  },
  "luminance": 0.07577
}

Semantic roles & 50–950 ramp

primary
#7126A4
secondary
#8AC264
accent
#E54284
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7126A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7126A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva