#7026AB#7026AB

#7026AB is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.197 H 304.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7026AB
RGBrgb(112, 38, 171)
HSLhsl(273, 64%, 41%)
HSVhsv(273, 78%, 67%)
CMYKcmyk(34.5%, 77.8%, 0%, 32.9%)
CIE-LABlab(33.50, 55.16, -56.98)
CIE-LCHlch(33.50, 79.31, 314.07°)
OKLaboklab(45.17% 0.1124 -0.1623)
OKLCHoklch(45.17% 0.197 304.7)
XYZxyz(14.7242, 7.7713, 39.2445)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7026AB #61AB26
analogous
#2D26AB #7026AB #AB26A3
triadic
#7026AB #AB7026 #26AB70
tetradic
#7026AB #AB2D26 #61AB26 #26A3AB
square
#7026AB #AB2D26 #61AB26 #26A3AB
split-complementary
#7026AB #A3AB26 #26AB2D
monochromatic
#2E1047 #4F1B79 #7026AB #903BD3 #AC6DDF

Accessibility & contrast

On white

8.22
#7026AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7026AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7026AB
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7026AB#FFFFFF#000000##FFFFFF
##7026AB1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#654868
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7026ab;
/* rgb */ color: rgb(112, 38, 171);
/* oklch */ color: oklch(45.2% 0.197 304.7);
Tailwind
colors: {
  custom: {
    50: '#9f69c5',
    500: '#7026ab',
    950: '#000000',
  },
}
SCSS
$custom: #7026ab;
$custom-light: #9f69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7026ab",
  "rgb": {
    "r": 112,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 273.383,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45173,
    "c": 0.19748,
    "h": 304.7
  },
  "luminance": 0.07771
}

Semantic roles & 50–950 ramp

primary
#7026AB
secondary
#91C568
accent
#E7418B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7026AB

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

Preview Lab → · Contrast checker → · Palette generator →

#7026AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva