#7026AC#7026AC

#7026AC is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.3% C 0.198 H 304.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7026AC
RGBrgb(112, 38, 172)
HSLhsl(273, 64%, 41%)
HSVhsv(273, 78%, 67%)
CMYKcmyk(34.9%, 77.9%, 0%, 32.5%)
CIE-LABlab(33.58, 55.40, -57.45)
CIE-LCHlch(33.58, 79.81, 313.96°)
OKLaboklab(45.26% 0.1122 -0.1637)
OKLCHoklch(45.26% 0.198 304.4)
XYZxyz(14.8199, 7.8096, 39.7484)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7026AC #62AC26
analogous
#2D26AC #7026AC #AC26A5
triadic
#7026AC #AC7026 #26AC70
tetradic
#7026AC #AC2D26 #62AC26 #26A5AC
square
#7026AC #AC2D26 #62AC26 #26A5AC
split-complementary
#7026AC #A5AC26 #26AC2D
monochromatic
#2F1048 #4F1B7A #7026AC #903BD4 #AC6EDF

Accessibility & contrast

On white

8.20
#7026AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7026AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7026AC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7026AC#FFFFFF#000000##FFFFFF
##7026AC1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#644968
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7026ac;
/* rgb */ color: rgb(112, 38, 172);
/* oklch */ color: oklch(45.3% 0.198 304.4);
Tailwind
colors: {
  custom: {
    50: '#9f69c6',
    500: '#7026ac',
    950: '#000000',
  },
}
SCSS
$custom: #7026ac;
$custom-light: #9f69c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7026ac",
  "rgb": {
    "r": 112,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 273.134,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45255,
    "c": 0.19846,
    "h": 304.4
  },
  "luminance": 0.0781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7026AC

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

Preview Lab → · Contrast checker → · Palette generator →

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