#7126A9#7126A9

#7126A9 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.196 H 305.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7126A9
RGBrgb(113, 38, 169)
HSLhsl(274, 63%, 41%)
HSVhsv(274, 78%, 66%)
CMYKcmyk(33.1%, 77.5%, 0%, 33.7%)
CIE-LABlab(33.48, 54.88, -55.81)
CIE-LCHlch(33.48, 78.27, 314.52°)
OKLaboklab(45.14% 0.1143 -0.1589)
OKLCHoklch(45.14% 0.196 305.7)
XYZxyz(14.6630, 7.7616, 38.2541)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7126A9 #5EA926
analogous
#2F26A9 #7126A9 #A9269F
triadic
#7126A9 #A97126 #26A971
tetradic
#7126A9 #A92F26 #5EA926 #269FA9
square
#7126A9 #A92F26 #5EA926 #269FA9
split-complementary
#7126A9 #9FA926 #26A92F
monochromatic
#2E1045 #501B77 #7126A9 #913AD3 #AD6CDE

Accessibility & contrast

On white

8.23
#7126A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7126A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7126A9
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7126A9#FFFFFF#000000##FFFFFF
##7126A91.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#674767
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7126a9;
/* rgb */ color: rgb(113, 38, 169);
/* oklch */ color: oklch(45.1% 0.196 305.7);
Tailwind
colors: {
  custom: {
    50: '#9f69c3',
    500: '#7126a9',
    950: '#000000',
  },
}
SCSS
$custom: #7126a9;
$custom-light: #9f69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7126a9",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 274.351,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45138,
    "c": 0.19573,
    "h": 305.7
  },
  "luminance": 0.07762
}

Semantic roles & 50–950 ramp

primary
#7126A9
secondary
#8FC467
accent
#E64188
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7126A9

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

Preview Lab → · Contrast checker → · Palette generator →

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