#7126AC#7126AC

#7126AC is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.199 H 304.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7126AC
RGBrgb(113, 38, 172)
HSLhsl(274, 64%, 41%)
HSVhsv(274, 78%, 67%)
CMYKcmyk(34.3%, 77.9%, 0%, 32.5%)
CIE-LABlab(33.72, 55.57, -57.22)
CIE-LCHlch(33.72, 79.76, 314.16°)
OKLaboklab(45.38% 0.1136 -0.163)
OKLCHoklch(45.38% 0.199 304.9)
XYZxyz(14.9479, 7.8756, 39.7544)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7126AC #61AC26
analogous
#2E26AC #7126AC #AC26A4
triadic
#7126AC #AC7126 #26AC71
tetradic
#7126AC #AC2E26 #61AC26 #26A4AC
square
#7126AC #AC2E26 #61AC26 #26A4AC
split-complementary
#7126AC #A4AC26 #26AC2E
monochromatic
#2F1048 #501B7A #7126AC #913BD4 #AD6EDF

Accessibility & contrast

On white

8.16
#7126AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7126AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7126AC
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7126AC#FFFFFF#000000##FFFFFF
##7126AC1.008.162.588.16
#FFFFFF8.161.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#664968
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7126ac;
/* rgb */ color: rgb(113, 38, 172);
/* oklch */ color: oklch(45.4% 0.199 304.9);
Tailwind
colors: {
  custom: {
    50: '#9f69c6',
    500: '#7126ac',
    950: '#000000',
  },
}
SCSS
$custom: #7126ac;
$custom-light: #9f69c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7126ac",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 273.582,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45382,
    "c": 0.19869,
    "h": 304.9
  },
  "luminance": 0.07875
}

Semantic roles & 50–950 ramp

primary
#7126AC
secondary
#91C568
accent
#E7418A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7126AC

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

Preview Lab → · Contrast checker → · Palette generator →

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