#7126A8#7126A8

#7126A8 is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.1% C 0.195 H 306.0°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7126A8
RGBrgb(113, 38, 168)
HSLhsl(275, 63%, 40%)
HSVhsv(275, 77%, 66%)
CMYKcmyk(32.7%, 77.4%, 0%, 34.1%)
CIE-LABlab(33.40, 54.65, -55.34)
CIE-LCHlch(33.40, 77.78, 314.64°)
OKLaboklab(45.06% 0.1146 -0.1575)
OKLCHoklch(45.06% 0.195 306)
XYZxyz(14.5695, 7.7242, 37.7616)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7126A8 #5DA826
analogous
#3026A8 #7126A8 #A8269E
triadic
#7126A8 #A87126 #26A871
tetradic
#7126A8 #A83026 #5DA826 #269EA8
square
#7126A8 #A83026 #5DA826 #269EA8
split-complementary
#7126A8 #9EA826 #26A830
monochromatic
#2E0F44 #4F1B76 #7126A8 #9139D2 #AD6BDE

Accessibility & contrast

On white

8.25
#7126A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7126A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7126A8#FFFFFF#000000##FFFFFF
##7126A81.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#674766
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7126a8;
/* rgb */ color: rgb(113, 38, 168);
/* oklch */ color: oklch(45.1% 0.195 306.0);
Tailwind
colors: {
  custom: {
    50: '#9f69c3',
    500: '#7126a8',
    950: '#000000',
  },
}
SCSS
$custom: #7126a8;
$custom-light: #9f69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7126a8",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 274.615,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45058,
    "c": 0.19475,
    "h": 306
  },
  "luminance": 0.07724
}

Semantic roles & 50–950 ramp

primary
#7126A8
secondary
#8EC466
accent
#E64287
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7126A8

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

Preview Lab → · Contrast checker → · Palette generator →

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