#7428A2#7428A2

#7428A2 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.187 H 309.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#7428A2
RGBrgb(116, 40, 162)
HSLhsl(277, 60%, 40%)
HSVhsv(277, 75%, 64%)
CMYKcmyk(28.4%, 75.3%, 0%, 36.5%)
CIE-LABlab(33.65, 53.06, -51.31)
CIE-LCHlch(33.65, 73.81, 315.96°)
OKLaboklab(45.18% 0.1182 -0.1455)
OKLCHoklch(45.18% 0.187 309.1)
XYZxyz(14.4815, 7.8395, 34.9257)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7428A2 #56A228
analogous
#3728A2 #7428A2 #A22893
triadic
#7428A2 #A27428 #28A274
tetradic
#7428A2 #A23728 #56A228 #2893A2
square
#7428A2 #A23728 #56A228 #2893A2
split-complementary
#7428A2 #93A228 #28A237
monochromatic
#2E1040 #511C71 #7428A2 #9639CE #B06ADA

Accessibility & contrast

On white

8.18
#7428A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7428A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7428A2
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7428A2#FFFFFF#000000##FFFFFF
##7428A21.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#00509F
Tritanopia (blue-blind)
#6D4563
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7428a2;
/* rgb */ color: rgb(116, 40, 162);
/* oklch */ color: oklch(45.2% 0.187 309.1);
Tailwind
colors: {
  custom: {
    50: '#a16abe',
    500: '#7428a2',
    950: '#000000',
  },
}
SCSS
$custom: #7428a2;
$custom-light: #a16abe;
$custom-dark: #000000;
JSON
{
  "hex": "#7428a2",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 277.377,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45175,
    "c": 0.18747,
    "h": 309.1
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#7428A2
secondary
#88C165
accent
#E44480
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7428A2

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

Preview Lab → · Contrast checker → · Palette generator →

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