#7026BB#7026BB

#7026BB is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.213 H 300.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7026BB
RGBrgb(112, 38, 187)
HSLhsl(270, 66%, 44%)
HSVhsv(270, 80%, 73%)
CMYKcmyk(40.1%, 79.7%, 0%, 26.7%)
CIE-LABlab(34.84, 58.90, -64.31)
CIE-LCHlch(34.84, 87.21, 312.48°)
OKLaboklab(46.52% 0.1081 -0.1839)
OKLCHoklch(46.52% 0.213 300.5)
XYZxyz(16.3426, 8.4187, 47.7680)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7026BB #71BB26
analogous
#2626BB #7026BB #BB26BB
triadic
#7026BB #BB7026 #26BB70
tetradic
#7026BB #BB2626 #71BB26 #26BBBB
square
#7026BB #BB2626 #71BB26 #26BBBB
split-complementary
#7026BB #BBBB26 #26BB26
monochromatic
#331155 #521C88 #7026BB #8F45D9 #AD78E4

Accessibility & contrast

On white

7.82
#7026BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7026BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7026BB
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7026BB#FFFFFF#000000##FFFFFF
##7026BB1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#5E4F71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7026bb;
/* rgb */ color: rgb(112, 38, 187);
/* oklch */ color: oklch(46.5% 0.213 300.5);
Tailwind
colors: {
  custom: {
    50: '#a06ad1',
    500: '#7026bb',
    950: '#000000',
  },
}
SCSS
$custom: #7026bb;
$custom-light: #a06ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7026bb",
  "rgb": {
    "r": 112,
    "g": 38,
    "b": 187
  },
  "hsl": {
    "h": 269.799,
    "s": 66.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46521,
    "c": 0.21329,
    "h": 300.5
  },
  "luminance": 0.08419
}

Semantic roles & 50–950 ramp

primary
#7026BB
secondary
#9FCB72
accent
#E93F94
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7026BB

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

Preview Lab → · Contrast checker → · Palette generator →

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