#7026C7#7026C7

#7026C7 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.225 H 297.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7026C7
RGBrgb(112, 38, 199)
HSLhsl(268, 68%, 46%)
HSVhsv(268, 81%, 78%)
CMYKcmyk(43.7%, 80.9%, 0%, 22%)
CIE-LABlab(35.90, 61.74, -69.63)
CIE-LCHlch(35.90, 93.06, 311.56°)
OKLaboklab(47.58% 0.1044 -0.1995)
OKLCHoklch(47.58% 0.225 297.6)
XYZxyz(17.6813, 8.9542, 54.8185)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7026C7 #7DC726
analogous
#262CC7 #7026C7 #C126C7
triadic
#7026C7 #C77026 #26C770
tetradic
#7026C7 #C7262C #7DC726 #26C7C1
square
#7026C7 #C7262C #7DC726 #26C7C1
split-complementary
#7026C7 #C7C126 #2CC726
monochromatic
#361260 #531C94 #7026C7 #8F4DDD #B081E7

Accessibility & contrast

On white

7.52
#7026C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7026C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7026C7
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7026C7#FFFFFF#000000##FFFFFF
##7026C71.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#0053C4
Tritanopia (blue-blind)
#595478
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7026c7;
/* rgb */ color: rgb(112, 38, 199);
/* oklch */ color: oklch(47.6% 0.225 297.6);
Tailwind
colors: {
  custom: {
    50: '#a16ad9',
    500: '#7026c7',
    950: '#000000',
  },
}
SCSS
$custom: #7026c7;
$custom-light: #a16ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#7026c7",
  "rgb": {
    "r": 112,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 267.578,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47577,
    "c": 0.22514,
    "h": 297.6
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#7026C7
secondary
#A8CF79
accent
#EB3D9B
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7026C7

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

Preview Lab → · Contrast checker → · Palette generator →

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