#7126BC#7126BC

#7126BC is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.7% C 0.214 H 300.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7126BC
RGBrgb(113, 38, 188)
HSLhsl(270, 66%, 44%)
HSVhsv(270, 80%, 74%)
CMYKcmyk(39.9%, 79.8%, 0%, 26.3%)
CIE-LABlab(35.06, 59.28, -64.54)
CIE-LCHlch(35.06, 87.64, 312.57°)
OKLaboklab(46.73% 0.1093 -0.1845)
OKLCHoklch(46.73% 0.214 300.6)
XYZxyz(16.5780, 8.5276, 48.3398)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7126BC #71BC26
analogous
#2626BC #7126BC #BC26BC
triadic
#7126BC #BC7126 #26BC71
tetradic
#7126BC #BC2626 #71BC26 #26BCBC
square
#7126BC #BC2626 #71BC26 #26BCBC
split-complementary
#7126BC #BCBC26 #26BC26
monochromatic
#341156 #521C89 #7126BC #9046DA #AE79E4

Accessibility & contrast

On white

7.76
#7126BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7126BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7126BC#FFFFFF#000000##FFFFFF
##7126BC1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#605072
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7126bc;
/* rgb */ color: rgb(113, 38, 188);
/* oklch */ color: oklch(46.7% 0.214 300.6);
Tailwind
colors: {
  custom: {
    50: '#a16ad1',
    500: '#7126bc',
    950: '#000000',
  },
}
SCSS
$custom: #7126bc;
$custom-light: #a16ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7126bc",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 188
  },
  "hsl": {
    "h": 270,
    "s": 66.372,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46728,
    "c": 0.21444,
    "h": 300.6
  },
  "luminance": 0.08528
}

Semantic roles & 50–950 ramp

primary
#7126BC
secondary
#9FCC72
accent
#E93F94
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7126BC

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

Preview Lab → · Contrast checker → · Palette generator →

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