#7026B1#7026B1

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

Color values

HEX#7026B1
RGBrgb(112, 38, 177)
HSLhsl(272, 65%, 42%)
HSVhsv(272, 79%, 69%)
CMYKcmyk(36.7%, 78.5%, 0%, 30.6%)
CIE-LABlab(33.99, 56.55, -59.77)
CIE-LCHlch(33.99, 82.28, 313.42°)
OKLaboklab(45.67% 0.1109 -0.1705)
OKLCHoklch(45.67% 0.203 303)
XYZxyz(15.3091, 8.0053, 42.3251)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7026B1 #67B126
analogous
#2A26B1 #7026B1 #B126AD
triadic
#7026B1 #B17026 #26B170
tetradic
#7026B1 #B12A26 #67B126 #26ADB1
square
#7026B1 #B12A26 #67B126 #26ADB1
split-complementary
#7026B1 #ADB126 #26B12A
monochromatic
#30104C #501B7F #7026B1 #8F3FD6 #AC71E0

Accessibility & contrast

On white

8.07
#7026B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7026B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7026B1
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7026B1#FFFFFF#000000##FFFFFF
##7026B11.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#624B6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7026b1;
/* rgb */ color: rgb(112, 38, 177);
/* oklch */ color: oklch(45.7% 0.203 303.0);
Tailwind
colors: {
  custom: {
    50: '#9f69c9',
    500: '#7026b1',
    950: '#000000',
  },
}
SCSS
$custom: #7026b1;
$custom-light: #9f69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7026b1",
  "rgb": {
    "r": 112,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 271.942,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4567,
    "c": 0.20341,
    "h": 303
  },
  "luminance": 0.08005
}

Semantic roles & 50–950 ramp

primary
#7026B1
secondary
#96C76B
accent
#E8408E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7026B1

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

Preview Lab → · Contrast checker → · Palette generator →

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