#7451D4#7451D4

#7451D4 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.3% C 0.192 H 290.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7451D4
RGBrgb(116, 81, 212)
HSLhsl(256, 60%, 57%)
HSVhsv(256, 62%, 83%)
CMYKcmyk(45.3%, 61.8%, 0%, 16.9%)
CIE-LABlab(44.73, 45.34, -62.72)
CIE-LCHlch(44.73, 77.39, 305.86°)
OKLaboklab(54.29% 0.0685 -0.1792)
OKLCHoklch(54.29% 0.192 290.9)
XYZxyz(22.0252, 14.3506, 63.8840)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7451D4 #B1D451
analogous
#516FD4 #7451D4 #B651D4
triadic
#7451D4 #D47451 #51D474
tetradic
#7451D4 #D4516F #B1D451 #51D4B6
square
#7451D4 #D4516F #B1D451 #51D4B6
split-complementary
#7451D4 #D4B651 #6FD451
monochromatic
#3D2289 #532EBA #7451D4 #9B82E0 #C2B3EC

Accessibility & contrast

On white

5.43
#7451D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7451D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7451D4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7451D4#FFFFFF#000000##FFFFFF
##7451D41.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#576F8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7451d4;
/* rgb */ color: rgb(116, 81, 212);
/* oklch */ color: oklch(54.3% 0.192 290.9);
Tailwind
colors: {
  custom: {
    50: '#a383e2',
    500: '#7451d4',
    950: '#000000',
  },
}
SCSS
$custom: #7451d4;
$custom-light: #a383e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7451d4",
  "rgb": {
    "r": 116,
    "g": 81,
    "b": 212
  },
  "hsl": {
    "h": 256.031,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54285,
    "c": 0.1919,
    "h": 290.9
  },
  "luminance": 0.14351
}

Semantic roles & 50–950 ramp

primary
#7451D4
secondary
#CDDBA6
accent
#E444B9
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #7451D4

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

Preview Lab → · Contrast checker → · Palette generator →

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