#7428A8#7428A8

#7428A8 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.193 H 307.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7428A8
RGBrgb(116, 40, 168)
HSLhsl(276, 62%, 41%)
HSVhsv(276, 76%, 66%)
CMYKcmyk(31%, 76.2%, 0%, 34.1%)
CIE-LABlab(34.10, 54.41, -54.18)
CIE-LCHlch(34.10, 76.78, 315.12°)
OKLaboklab(45.64% 0.117 -0.154)
OKLCHoklch(45.64% 0.193 307.2)
XYZxyz(15.0276, 8.0579, 37.8019)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7428A8 #5CA828
analogous
#3428A8 #7428A8 #A8289C
triadic
#7428A8 #A87428 #28A874
tetradic
#7428A8 #A83428 #5CA828 #289CA8
square
#7428A8 #A83428 #5CA828 #289CA8
split-complementary
#7428A8 #9CA828 #28A834
monochromatic
#301045 #521C77 #7428A8 #943DD1 #B06EDC

Accessibility & contrast

On white

8.04
#7428A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7428A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7428A8
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7428A8#FFFFFF#000000##FFFFFF
##7428A81.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#6B4767
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7428a8;
/* rgb */ color: rgb(116, 40, 168);
/* oklch */ color: oklch(45.6% 0.193 307.2);
Tailwind
colors: {
  custom: {
    50: '#a16ac3',
    500: '#7428a8',
    950: '#000000',
  },
}
SCSS
$custom: #7428a8;
$custom-light: #a16ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7428a8",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 275.625,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4564,
    "c": 0.19338,
    "h": 307.2
  },
  "luminance": 0.08058
}

Semantic roles & 50–950 ramp

primary
#7428A8
secondary
#8DC369
accent
#E54385
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7428A8

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

Preview Lab → · Contrast checker → · Palette generator →

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