#7428B1#7428B1

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

Color values

HEX#7428B1
RGBrgb(116, 40, 177)
HSLhsl(273, 63%, 43%)
HSVhsv(273, 77%, 69%)
CMYKcmyk(34.5%, 77.4%, 0%, 30.6%)
CIE-LABlab(34.81, 56.45, -58.41)
CIE-LCHlch(34.81, 81.23, 314.02°)
OKLaboklab(46.36% 0.115 -0.1664)
OKLCHoklch(46.36% 0.202 304.6)
XYZxyz(15.8952, 8.4050, 42.3714)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7428B1 #65B128
analogous
#3028B1 #7428B1 #B128A9
triadic
#7428B1 #B17428 #28B174
tetradic
#7428B1 #B13028 #65B128 #28A9B1
square
#7428B1 #B13028 #65B128 #28A9B1
split-complementary
#7428B1 #A9B128 #28B130
monochromatic
#33114D #531D7F #7428B1 #9342D4 #B074E0

Accessibility & contrast

On white

7.83
#7428B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7428B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7428B1
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7428B1#FFFFFF#000000##FFFFFF
##7428B11.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#684B6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7428b1;
/* rgb */ color: rgb(116, 40, 177);
/* oklch */ color: oklch(46.4% 0.202 304.6);
Tailwind
colors: {
  custom: {
    50: '#a26bc9',
    500: '#7428b1',
    950: '#000000',
  },
}
SCSS
$custom: #7428b1;
$custom-light: #a26bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7428b1",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 273.285,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4636,
    "c": 0.20224,
    "h": 304.6
  },
  "luminance": 0.08405
}

Semantic roles & 50–950 ramp

primary
#7428B1
secondary
#96C76E
accent
#E6428B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7428B1

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

Preview Lab → · Contrast checker → · Palette generator →

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