#7451EF#7451EF

#7451EF is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.224 H 287.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7451EF
RGBrgb(116, 81, 239)
HSLhsl(253, 83%, 63%)
HSVhsv(253, 66%, 94%)
CMYKcmyk(51.5%, 66.1%, 0%, 6.3%)
CIE-LABlab(46.75, 52.94, -74.76)
CIE-LCHlch(46.75, 91.61, 305.30°)
OKLaboklab(56.38% 0.0657 -0.2146)
OKLCHoklch(56.38% 0.224 287)
XYZxyz(25.7203, 15.8286, 83.3446)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7451EF #CCEF51
analogous
#517DEF #7451EF #C351EF
triadic
#7451EF #EF7451 #51EF74
tetradic
#7451EF #EF517D #CCEF51 #51EFC3
square
#7451EF #EF517D #CCEF51 #51EFC3
split-complementary
#7451EF #EFC351 #7DEF51
monochromatic
#3511B5 #4719EA #7451EF #A189F4 #CEC1F9

Accessibility & contrast

On white

5.04
#7451EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7451EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7451EF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7451EF#FFFFFF#000000##FFFFFF
##7451EF1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#447999
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7451ef;
/* rgb */ color: rgb(116, 81, 239);
/* oklch */ color: oklch(56.4% 0.224 287.0);
Tailwind
colors: {
  custom: {
    50: '#a684f5',
    500: '#7451ef',
    950: '#000000',
  },
}
SCSS
$custom: #7451ef;
$custom-light: #a684f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7451ef",
  "rgb": {
    "r": 116,
    "g": 81,
    "b": 239
  },
  "hsl": {
    "h": 253.291,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56377,
    "c": 0.22447,
    "h": 287
  },
  "luminance": 0.1583
}

Semantic roles & 50–950 ramp

primary
#7451EF
secondary
#DEEAB1
accent
#E006AF
background
#FAF8FF
surface
#F5EFFF
border
#CFCAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7451EF

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

Preview Lab → · Contrast checker → · Palette generator →

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