#7126B7#7126B7

#7126B7 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.3% C 0.210 H 301.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7126B7
RGBrgb(113, 38, 183)
HSLhsl(271, 66%, 43%)
HSVhsv(271, 79%, 72%)
CMYKcmyk(38.3%, 79.2%, 0%, 28.2%)
CIE-LABlab(34.63, 58.11, -62.28)
CIE-LCHlch(34.63, 85.18, 313.02°)
OKLaboklab(46.3% 0.1107 -0.1779)
OKLCHoklch(46.3% 0.21 301.9)
XYZxyz(16.0483, 8.3158, 45.5502)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7126B7 #6CB726
analogous
#2826B7 #7126B7 #B726B4
triadic
#7126B7 #B77126 #26B771
tetradic
#7126B7 #B72826 #6CB726 #26B4B7
square
#7126B7 #B72826 #6CB726 #26B4B7
split-complementary
#7126B7 #B4B726 #26B728
monochromatic
#321152 #521B84 #7126B7 #9042D8 #AE75E2

Accessibility & contrast

On white

7.89
#7126B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7126B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7126B7#FFFFFF#000000##FFFFFF
##7126B71.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BB
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#624D6F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7126b7;
/* rgb */ color: rgb(113, 38, 183);
/* oklch */ color: oklch(46.3% 0.210 301.9);
Tailwind
colors: {
  custom: {
    50: '#a06ace',
    500: '#7126b7',
    950: '#000000',
  },
}
SCSS
$custom: #7126b7;
$custom-light: #a06ace;
$custom-dark: #000000;
JSON
{
  "hex": "#7126b7",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 271.034,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.463,
    "c": 0.20952,
    "h": 301.9
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#7126B7
secondary
#9BCA6F
accent
#E93F91
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7126B7

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

Preview Lab → · Contrast checker → · Palette generator →

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