#7126B0#7126B0

#7126B0 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.7% C 0.203 H 303.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7126B0
RGBrgb(113, 38, 176)
HSLhsl(273, 64%, 42%)
HSVhsv(273, 78%, 69%)
CMYKcmyk(35.8%, 78.4%, 0%, 31%)
CIE-LABlab(34.05, 56.49, -59.08)
CIE-LCHlch(34.05, 81.74, 313.72°)
OKLaboklab(45.71% 0.1126 -0.1684)
OKLCHoklch(45.71% 0.203 303.8)
XYZxyz(15.3378, 8.0316, 41.8081)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7126B0 #65B026
analogous
#2C26B0 #7126B0 #B026AA
triadic
#7126B0 #B07126 #26B071
tetradic
#7126B0 #B02C26 #65B026 #26AAB0
square
#7126B0 #B02C26 #65B026 #26AAB0
split-complementary
#7126B0 #AAB026 #26B02C
monochromatic
#30104B #511B7E #7126B0 #903ED5 #AD70E0

Accessibility & contrast

On white

8.06
#7126B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7126B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7126B0
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7126B0#FFFFFF#000000##FFFFFF
##7126B01.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#644A6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7126b0;
/* rgb */ color: rgb(113, 38, 176);
/* oklch */ color: oklch(45.7% 0.203 303.8);
Tailwind
colors: {
  custom: {
    50: '#a069c9',
    500: '#7126b0',
    950: '#000000',
  },
}
SCSS
$custom: #7126b0;
$custom-light: #a069c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7126b0",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 272.609,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45712,
    "c": 0.20262,
    "h": 303.8
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#7126B0
secondary
#95C76B
accent
#E7408D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7126B0

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

Preview Lab → · Contrast checker → · Palette generator →

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