#7451EB#7451EB

#7451EB is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.220 H 287.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7451EB
RGBrgb(116, 81, 235)
HSLhsl(254, 79%, 62%)
HSVhsv(254, 66%, 92%)
CMYKcmyk(50.6%, 65.5%, 0%, 7.8%)
CIE-LABlab(46.44, 51.81, -73.02)
CIE-LCHlch(46.44, 89.53, 305.36°)
OKLaboklab(56.06% 0.0662 -0.2095)
OKLCHoklch(56.06% 0.22 287.5)
XYZxyz(25.1359, 15.5948, 80.2668)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7451EB #C8EB51
analogous
#517BEB #7451EB #C151EB
triadic
#7451EB #EB7451 #51EB74
tetradic
#7451EB #EB517B #C8EB51 #51EBC1
square
#7451EB #EB517B #C8EB51 #51EBC1
split-complementary
#7451EB #EBC151 #7BEB51
monochromatic
#3714AE #481AE5 #7451EB #A088F1 #CCBFF8

Accessibility & contrast

On white

5.10
#7451EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7451EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7451EB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7451EB#FFFFFF#000000##FFFFFF
##7451EB1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#487797
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7451eb;
/* rgb */ color: rgb(116, 81, 235);
/* oklch */ color: oklch(56.1% 0.220 287.5);
Tailwind
colors: {
  custom: {
    50: '#a684f2',
    500: '#7451eb',
    950: '#000000',
  },
}
SCSS
$custom: #7451eb;
$custom-light: #a684f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7451eb",
  "rgb": {
    "r": 116,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 253.636,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56057,
    "c": 0.21972,
    "h": 287.5
  },
  "luminance": 0.15596
}

Semantic roles & 50–950 ramp

primary
#7451EB
secondary
#DBE8B0
accent
#DC0AAC
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7451EB

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

Preview Lab → · Contrast checker → · Palette generator →

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