#7421AC#7421AC

#7421AC is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.3% C 0.204 H 306.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7421AC
RGBrgb(116, 33, 172)
HSLhsl(276, 68%, 40%)
HSVhsv(276, 81%, 67%)
CMYKcmyk(32.6%, 80.8%, 0%, 32.5%)
CIE-LABlab(33.52, 57.90, -57.53)
CIE-LCHlch(33.52, 81.62, 315.18°)
OKLaboklab(45.33% 0.1219 -0.1638)
OKLCHoklch(45.33% 0.204 306.7)
XYZxyz(15.1911, 7.7794, 39.7230)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7421AC #59AC21
analogous
#2E21AC #7421AC #AC219F
triadic
#7421AC #AC7421 #21AC74
tetradic
#7421AC #AC2E21 #59AC21 #219FAC
square
#7421AC #AC2E21 #59AC21 #219FAC
split-complementary
#7421AC #9FAC21 #21AC2E
monochromatic
#2F0D45 #511779 #7421AC #9532D8 #B066E2

Accessibility & contrast

On white

8.22
#7421AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7421AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7421AC
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7421AC#FFFFFF#000000##FFFFFF
##7421AC1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#6A4667
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7421ac;
/* rgb */ color: rgb(116, 33, 172);
/* oklch */ color: oklch(45.3% 0.204 306.7);
Tailwind
colors: {
  custom: {
    50: '#a267c6',
    500: '#7421ac',
    950: '#000000',
  },
}
SCSS
$custom: #7421ac;
$custom-light: #a267c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7421ac",
  "rgb": {
    "r": 116,
    "g": 33,
    "b": 172
  },
  "hsl": {
    "h": 275.827,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4533,
    "c": 0.20416,
    "h": 306.7
  },
  "luminance": 0.07779
}

Semantic roles & 50–950 ramp

primary
#7421AC
secondary
#8BC762
accent
#EB3D83
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7421AC

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

Preview Lab → · Contrast checker → · Palette generator →

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