#7126A3#7126A3

#7126A3 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.7% C 0.190 H 307.5°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7126A3
RGBrgb(113, 38, 163)
HSLhsl(276, 62%, 39%)
HSVhsv(276, 77%, 64%)
CMYKcmyk(30.7%, 76.7%, 0%, 36.1%)
CIE-LABlab(33.01, 53.52, -52.97)
CIE-LCHlch(33.01, 75.30, 315.30°)
OKLaboklab(44.66% 0.1157 -0.1505)
OKLCHoklch(44.66% 0.19 307.5)
XYZxyz(14.1126, 7.5415, 35.3554)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7126A3 #58A326
analogous
#3326A3 #7126A3 #A32697
triadic
#7126A3 #A37126 #26A371
tetradic
#7126A3 #A33326 #58A326 #2697A3
square
#7126A3 #A33326 #58A326 #2697A3
split-complementary
#7126A3 #97A326 #26A333
monochromatic
#2C0F40 #4F1A71 #7126A3 #9336D0 #AD68DC

Accessibility & contrast

On white

8.37
#7126A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7126A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7126A3
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7126A3#FFFFFF#000000##FFFFFF
##7126A31.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#694563
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7126a3;
/* rgb */ color: rgb(113, 38, 163);
/* oklch */ color: oklch(44.7% 0.190 307.5);
Tailwind
colors: {
  custom: {
    50: '#9f69bf',
    500: '#7126a3',
    950: '#000000',
  },
}
SCSS
$custom: #7126a3;
$custom-light: #9f69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7126a3",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 276,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44659,
    "c": 0.18982,
    "h": 307.5
  },
  "luminance": 0.07541
}

Semantic roles & 50–950 ramp

primary
#7126A3
secondary
#89C263
accent
#E54384
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7126A3

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

Preview Lab → · Contrast checker → · Palette generator →

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