#7428AC#7428AC

#7428AC is a mid, vivid violet. Relative luminance 0.082; OKLCH L 46.0% C 0.197 H 306.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7428AC
RGBrgb(116, 40, 172)
HSLhsl(275, 62%, 42%)
HSVhsv(275, 77%, 67%)
CMYKcmyk(32.6%, 76.7%, 0%, 32.5%)
CIE-LABlab(34.41, 55.31, -56.07)
CIE-LCHlch(34.41, 78.76, 314.61°)
OKLaboklab(45.96% 0.1161 -0.1595)
OKLCHoklch(45.96% 0.197 306)
XYZxyz(15.4060, 8.2093, 39.7947)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7428AC #60AC28
analogous
#3228AC #7428AC #AC28A2
triadic
#7428AC #AC7428 #28AC74
tetradic
#7428AC #AC3228 #60AC28 #28A2AC
square
#7428AC #AC3228 #60AC28 #28A2AC
split-complementary
#7428AC #A2AC28 #28AC32
monochromatic
#311149 #531C7A #7428AC #943FD2 #AF71DE

Accessibility & contrast

On white

7.95
#7428AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7428AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7428AC
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7428AC#FFFFFF#000000##FFFFFF
##7428AC1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#6A4969
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7428ac;
/* rgb */ color: rgb(116, 40, 172);
/* oklch */ color: oklch(46.0% 0.197 306.0);
Tailwind
colors: {
  custom: {
    50: '#a16ac6',
    500: '#7428ac',
    950: '#000000',
  },
}
SCSS
$custom: #7428ac;
$custom-light: #a16ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7428ac",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 274.545,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45957,
    "c": 0.19732,
    "h": 306
  },
  "luminance": 0.08209
}

Semantic roles & 50–950 ramp

primary
#7428AC
secondary
#91C56B
accent
#E54288
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7428AC

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

Preview Lab → · Contrast checker → · Palette generator →

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