#7126AF#7126AF

#7126AF is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.6% C 0.202 H 304.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7126AF
RGBrgb(113, 38, 175)
HSLhsl(273, 64%, 42%)
HSVhsv(273, 78%, 69%)
CMYKcmyk(35.4%, 78.3%, 0%, 31.4%)
CIE-LABlab(33.97, 56.26, -58.61)
CIE-LCHlch(33.97, 81.24, 313.83°)
OKLaboklab(45.63% 0.1129 -0.1671)
OKLCHoklch(45.63% 0.202 304)
XYZxyz(15.2392, 7.9921, 41.2889)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7126AF #64AF26
analogous
#2D26AF #7126AF #AF26A9
triadic
#7126AF #AF7126 #26AF71
tetradic
#7126AF #AF2D26 #64AF26 #26A9AF
square
#7126AF #AF2D26 #64AF26 #26A9AF
split-complementary
#7126AF #A9AF26 #26AF2D
monochromatic
#30104A #511B7D #7126AF #903DD5 #AD70E0

Accessibility & contrast

On white

8.08
#7126AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7126AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7126AF
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7126AF#FFFFFF#000000##FFFFFF
##7126AF1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#654A6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7126af;
/* rgb */ color: rgb(113, 38, 175);
/* oklch */ color: oklch(45.6% 0.202 304.0);
Tailwind
colors: {
  custom: {
    50: '#a069c8',
    500: '#7126af',
    950: '#000000',
  },
}
SCSS
$custom: #7126af;
$custom-light: #a069c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7126af",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 272.847,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45629,
    "c": 0.20163,
    "h": 304
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

primary
#7126AF
secondary
#94C76A
accent
#E7408C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7126AF

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

Preview Lab → · Contrast checker → · Palette generator →

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