#7428B2#7428B2

#7428B2 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.203 H 304.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7428B2
RGBrgb(116, 40, 178)
HSLhsl(273, 63%, 43%)
HSVhsv(273, 78%, 70%)
CMYKcmyk(34.8%, 77.5%, 0%, 30.2%)
CIE-LABlab(34.89, 56.68, -58.87)
CIE-LCHlch(34.89, 81.73, 313.92°)
OKLaboklab(46.44% 0.1147 -0.1678)
OKLCHoklch(46.44% 0.203 304.4)
XYZxyz(15.9953, 8.4450, 42.8982)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7428B2 #66B228
analogous
#2F28B2 #7428B2 #B228AB
triadic
#7428B2 #B27428 #28B274
tetradic
#7428B2 #B22F28 #66B228 #28ABB2
square
#7428B2 #B22F28 #66B228 #28ABB2
split-complementary
#7428B2 #ABB228 #28B22F
monochromatic
#33124E #531D80 #7428B2 #9343D5 #B075E0

Accessibility & contrast

On white

7.81
#7428B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7428B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7428B2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7428B2#FFFFFF#000000##FFFFFF
##7428B21.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#684C6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7428b2;
/* rgb */ color: rgb(116, 40, 178);
/* oklch */ color: oklch(46.4% 0.203 304.4);
Tailwind
colors: {
  custom: {
    50: '#a26bca',
    500: '#7428b2',
    950: '#000000',
  },
}
SCSS
$custom: #7428b2;
$custom-light: #a26bca;
$custom-dark: #000000;
JSON
{
  "hex": "#7428b2",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 273.043,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46442,
    "c": 0.20324,
    "h": 304.4
  },
  "luminance": 0.08445
}

Semantic roles & 50–950 ramp

primary
#7428B2
secondary
#96C76F
accent
#E6418C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7428B2

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

Preview Lab → · Contrast checker → · Palette generator →

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