#7421BD#7421BD

#7421BD is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.8% C 0.220 H 302.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7421BD
RGBrgb(116, 33, 189)
HSLhsl(272, 70%, 44%)
HSVhsv(272, 83%, 74%)
CMYKcmyk(38.6%, 82.5%, 0%, 25.9%)
CIE-LABlab(34.95, 61.70, -65.29)
CIE-LCHlch(34.95, 89.83, 313.38°)
OKLaboklab(46.77% 0.1169 -0.1865)
OKLCHoklch(46.77% 0.22 302.1)
XYZxyz(16.9294, 8.4748, 48.8781)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7421BD #6ABD21
analogous
#2621BD #7421BD #BD21B8
triadic
#7421BD #BD7421 #21BD74
tetradic
#7421BD #BD2621 #6ABD21 #21B8BD
square
#7421BD #BD2621 #6ABD21 #21B8BD
split-complementary
#7421BD #B8BD21 #21BD26
monochromatic
#340F55 #541889 #7421BD #933EDD #B072E6

Accessibility & contrast

On white

7.79
#7421BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7421BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7421BD
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7421BD#FFFFFF#000000##FFFFFF
##7421BD1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#644E71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7421bd;
/* rgb */ color: rgb(116, 33, 189);
/* oklch */ color: oklch(46.8% 0.220 302.1);
Tailwind
colors: {
  custom: {
    50: '#a368d2',
    500: '#7421bd',
    950: '#000000',
  },
}
SCSS
$custom: #7421bd;
$custom-light: #a368d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7421bd",
  "rgb": {
    "r": 116,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 271.923,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46768,
    "c": 0.22015,
    "h": 302.1
  },
  "luminance": 0.08475
}

Semantic roles & 50–950 ramp

primary
#7421BD
secondary
#9ACD6D
accent
#ED3B8E
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7421BD

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

Preview Lab → · Contrast checker → · Palette generator →

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