#7126AD#7126AD

#7126AD is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.5% C 0.200 H 304.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7126AD
RGBrgb(113, 38, 173)
HSLhsl(273, 64%, 41%)
HSVhsv(273, 78%, 68%)
CMYKcmyk(34.7%, 78%, 0%, 32.2%)
CIE-LABlab(33.80, 55.80, -57.68)
CIE-LCHlch(33.80, 80.25, 314.05°)
OKLaboklab(45.46% 0.1134 -0.1644)
OKLCHoklch(45.46% 0.2 304.6)
XYZxyz(15.0443, 7.9141, 40.2621)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7126AD #62AD26
analogous
#2D26AD #7126AD #AD26A6
triadic
#7126AD #AD7126 #26AD71
tetradic
#7126AD #AD2D26 #62AD26 #26A6AD
square
#7126AD #AD2D26 #62AD26 #26A6AD
split-complementary
#7126AD #A6AD26 #26AD2D
monochromatic
#2F1049 #501B7B #7126AD #913CD4 #AD6EDF

Accessibility & contrast

On white

8.13
#7126AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7126AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7126AD
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7126AD#FFFFFF#000000##FFFFFF
##7126AD1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#654969
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7126ad;
/* rgb */ color: rgb(113, 38, 173);
/* oklch */ color: oklch(45.5% 0.200 304.6);
Tailwind
colors: {
  custom: {
    50: '#a069c6',
    500: '#7126ad',
    950: '#000000',
  },
}
SCSS
$custom: #7126ad;
$custom-light: #a069c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7126ad",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 273.333,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45464,
    "c": 0.19968,
    "h": 304.6
  },
  "luminance": 0.07914
}

Semantic roles & 50–950 ramp

primary
#7126AD
secondary
#92C669
accent
#E7418B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7126AD

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

Preview Lab → · Contrast checker → · Palette generator →

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