#7126BB#7126BB

#7126BB is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.213 H 300.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7126BB
RGBrgb(113, 38, 187)
HSLhsl(270, 66%, 44%)
HSVhsv(270, 80%, 73%)
CMYKcmyk(39.6%, 79.7%, 0%, 26.7%)
CIE-LABlab(34.97, 59.05, -64.09)
CIE-LCHlch(34.97, 87.15, 312.65°)
OKLaboklab(46.64% 0.1096 -0.1832)
OKLCHoklch(46.64% 0.213 300.9)
XYZxyz(16.4706, 8.4847, 47.7740)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7126BB #70BB26
analogous
#2626BB #7126BB #BB26BB
triadic
#7126BB #BB7126 #26BB71
tetradic
#7126BB #BB2626 #70BB26 #26BBBB
square
#7126BB #BB2626 #70BB26 #26BBBB
split-complementary
#7126BB #BBBB26 #26BB26
monochromatic
#341155 #521C88 #7126BB #9045D9 #AE78E4

Accessibility & contrast

On white

7.79
#7126BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7126BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7126BB#FFFFFF#000000##FFFFFF
##7126BB1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#604F71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7126bb;
/* rgb */ color: rgb(113, 38, 187);
/* oklch */ color: oklch(46.6% 0.213 300.9);
Tailwind
colors: {
  custom: {
    50: '#a16ad1',
    500: '#7126bb',
    950: '#000000',
  },
}
SCSS
$custom: #7126bb;
$custom-light: #a16ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7126bb",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 187
  },
  "hsl": {
    "h": 270.201,
    "s": 66.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46642,
    "c": 0.21346,
    "h": 300.9
  },
  "luminance": 0.08485
}

Semantic roles & 50–950 ramp

primary
#7126BB
secondary
#9ECB72
accent
#E93F93
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7126BB

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

Preview Lab → · Contrast checker → · Palette generator →

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