#7126AA#7126AA

#7126AA is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.197 H 305.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7126AA
RGBrgb(113, 38, 170)
HSLhsl(274, 63%, 41%)
HSVhsv(274, 78%, 67%)
CMYKcmyk(33.5%, 77.6%, 0%, 33.3%)
CIE-LABlab(33.56, 55.11, -56.28)
CIE-LCHlch(33.56, 78.77, 314.40°)
OKLaboklab(45.22% 0.1141 -0.1602)
OKLCHoklch(45.22% 0.197 305.5)
XYZxyz(14.7572, 7.7993, 38.7504)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7126AA #5FAA26
analogous
#2F26AA #7126AA #AA26A1
triadic
#7126AA #AA7126 #26AA71
tetradic
#7126AA #AA2F26 #5FAA26 #26A1AA
square
#7126AA #AA2F26 #5FAA26 #26A1AA
split-complementary
#7126AA #A1AA26 #26AA2F
monochromatic
#2F1046 #501B78 #7126AA #913AD3 #AD6CDE

Accessibility & contrast

On white

8.20
#7126AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7126AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7126AA#FFFFFF#000000##FFFFFF
##7126AA1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#664867
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7126aa;
/* rgb */ color: rgb(113, 38, 170);
/* oklch */ color: oklch(45.2% 0.197 305.5);
Tailwind
colors: {
  custom: {
    50: '#9f69c4',
    500: '#7126aa',
    950: '#000000',
  },
}
SCSS
$custom: #7126aa;
$custom-light: #9f69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7126aa",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 274.091,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45219,
    "c": 0.19671,
    "h": 305.5
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#7126AA
secondary
#90C567
accent
#E64189
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7126AA

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

Preview Lab → · Contrast checker → · Palette generator →

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