#7126A5#7126A5

#7126A5 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.192 H 306.9°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7126A5
RGBrgb(113, 38, 165)
HSLhsl(275, 63%, 40%)
HSVhsv(275, 77%, 65%)
CMYKcmyk(31.5%, 77%, 0%, 35.3%)
CIE-LABlab(33.17, 53.97, -53.92)
CIE-LCHlch(33.17, 76.29, 315.03°)
OKLaboklab(44.82% 0.1153 -0.1533)
OKLCHoklch(44.82% 0.192 306.9)
XYZxyz(14.2932, 7.6137, 36.3066)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7126A5 #5AA526
analogous
#3126A5 #7126A5 #A5269A
triadic
#7126A5 #A57126 #26A571
tetradic
#7126A5 #A53126 #5AA526 #269AA5
square
#7126A5 #A53126 #5AA526 #269AA5
split-complementary
#7126A5 #9AA526 #26A531
monochromatic
#2D0F42 #4F1B73 #7126A5 #9237D1 #AD69DC

Accessibility & contrast

On white

8.32
#7126A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7126A5#FFFFFF#000000##FFFFFF
##7126A51.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#684664
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7126a5;
/* rgb */ color: rgb(113, 38, 165);
/* oklch */ color: oklch(44.8% 0.192 306.9);
Tailwind
colors: {
  custom: {
    50: '#9f69c1',
    500: '#7126a5',
    950: '#000000',
  },
}
SCSS
$custom: #7126a5;
$custom-light: #9f69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7126a5",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 275.433,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44817,
    "c": 0.1918,
    "h": 306.9
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#7126A5
secondary
#8BC364
accent
#E64285
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7126A5

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

Preview Lab → · Contrast checker → · Palette generator →

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