#7420BD#7420BD

#7420BD is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.7% C 0.221 H 302.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7420BD
RGBrgb(116, 32, 189)
HSLhsl(272, 71%, 43%)
HSVhsv(272, 83%, 74%)
CMYKcmyk(38.6%, 83.1%, 0%, 25.9%)
CIE-LABlab(34.84, 62.02, -65.47)
CIE-LCHlch(34.84, 90.18, 313.45°)
OKLaboklab(46.69% 0.1176 -0.1871)
OKLCHoklch(46.69% 0.221 302.1)
XYZxyz(16.9020, 8.4201, 48.8690)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7420BD #69BD20
analogous
#2520BD #7420BD #BD20B7
triadic
#7420BD #BD7420 #20BD74
tetradic
#7420BD #BD2520 #69BD20 #20B7BD
square
#7420BD #BD2520 #69BD20 #20B7BD
split-complementary
#7420BD #B7BD20 #20BD25
monochromatic
#340E54 #541789 #7420BD #933CDE #B071E7

Accessibility & contrast

On white

7.82
#7420BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7420BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7420BD
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7420BD#FFFFFF#000000##FFFFFF
##7420BD1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7420bd;
/* rgb */ color: rgb(116, 32, 189);
/* oklch */ color: oklch(46.7% 0.221 302.1);
Tailwind
colors: {
  custom: {
    50: '#a368d2',
    500: '#7420bd',
    950: '#000000',
  },
}
SCSS
$custom: #7420bd;
$custom-light: #a368d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7420bd",
  "rgb": {
    "r": 116,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 272.102,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46692,
    "c": 0.22094,
    "h": 302.1
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#7420BD
secondary
#99CD6B
accent
#EE3A8E
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7420BD

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

Preview Lab → · Contrast checker → · Palette generator →

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