#7454DC#7454DC

#7454DC is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.3% C 0.198 H 289.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7454DC
RGBrgb(116, 84, 220)
HSLhsl(254, 66%, 60%)
HSVhsv(254, 62%, 86%)
CMYKcmyk(47.3%, 61.8%, 0%, 13.7%)
CIE-LABlab(45.93, 45.91, -65.34)
CIE-LCHlch(45.93, 79.86, 305.09°)
OKLaboklab(55.34% 0.0648 -0.1869)
OKLCHoklch(55.34% 0.198 289.1)
XYZxyz(23.2874, 15.2200, 69.4070)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7454DC #BCDC54
analogous
#5478DC #7454DC #B854DC
triadic
#7454DC #DC7454 #54DC74
tetradic
#7454DC #DC5478 #BCDC54 #54DCB8
square
#7454DC #DC5478 #BCDC54 #54DCB8
split-complementary
#7454DC #DCB854 #78DC54
monochromatic
#3B1F97 #4F29CA #7454DC #9D87E6 #C7BAF1

Accessibility & contrast

On white

5.19
#7454DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7454DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7454DC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7454DC#FFFFFF#000000##FFFFFF
##7454DC1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#527490
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7454dc;
/* rgb */ color: rgb(116, 84, 220);
/* oklch */ color: oklch(55.3% 0.198 289.1);
Tailwind
colors: {
  custom: {
    50: '#a486e8',
    500: '#7454dc',
    950: '#000000',
  },
}
SCSS
$custom: #7454dc;
$custom-light: #a486e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7454dc",
  "rgb": {
    "r": 116,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 254.118,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55341,
    "c": 0.19785,
    "h": 289.1
  },
  "luminance": 0.15221
}

Semantic roles & 50–950 ramp

primary
#7454DC
secondary
#D4E0AC
accent
#E93FC1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7454DC

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

Preview Lab → · Contrast checker → · Palette generator →

#7454DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva