#7451DC#7451DC

#7451DC is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 54.9% C 0.202 H 289.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7451DC
RGBrgb(116, 81, 220)
HSLhsl(255, 67%, 59%)
HSVhsv(255, 63%, 86%)
CMYKcmyk(47.3%, 63.2%, 0%, 13.7%)
CIE-LABlab(45.31, 47.58, -66.36)
CIE-LCHlch(45.31, 81.65, 305.64°)
OKLaboklab(54.89% 0.0679 -0.1899)
OKLCHoklch(54.89% 0.202 289.7)
XYZxyz(23.0595, 14.7643, 69.3311)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7451DC #B9DC51
analogous
#5174DC #7451DC #BA51DC
triadic
#7451DC #DC7451 #51DC74
tetradic
#7451DC #DC5174 #B9DC51 #51DCBA
square
#7451DC #DC5174 #B9DC51 #51DCBA
split-complementary
#7451DC #DCBA51 #74DC51
monochromatic
#3C1E95 #5028C8 #7451DC #9D84E6 #C5B7F0

Accessibility & contrast

On white

5.31
#7451DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7451DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7451DC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7451DC#FFFFFF#000000##FFFFFF
##7451DC1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#52728F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7451dc;
/* rgb */ color: rgb(116, 81, 220);
/* oklch */ color: oklch(54.9% 0.202 289.7);
Tailwind
colors: {
  custom: {
    50: '#a484e8',
    500: '#7451dc',
    950: '#000000',
  },
}
SCSS
$custom: #7451dc;
$custom-light: #a484e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7451dc",
  "rgb": {
    "r": 116,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 255.108,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54887,
    "c": 0.20169,
    "h": 289.7
  },
  "luminance": 0.14765
}

Semantic roles & 50–950 ramp

primary
#7451DC
secondary
#D2E0A9
accent
#E93EBE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7451DC

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

Preview Lab → · Contrast checker → · Palette generator →

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