#7451EC#7451EC

#7451EC is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.1% C 0.221 H 287.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7451EC
RGBrgb(116, 81, 236)
HSLhsl(254, 80%, 62%)
HSVhsv(254, 66%, 93%)
CMYKcmyk(50.8%, 65.7%, 0%, 7.5%)
CIE-LABlab(46.52, 52.09, -73.46)
CIE-LCHlch(46.52, 90.05, 305.34°)
OKLaboklab(56.14% 0.0661 -0.2108)
OKLCHoklch(56.14% 0.221 287.4)
XYZxyz(25.2808, 15.6528, 81.0298)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7451EC #C9EC51
analogous
#517CEC #7451EC #C151EC
triadic
#7451EC #EC7451 #51EC74
tetradic
#7451EC #EC517C #C9EC51 #51ECC1
square
#7451EC #EC517C #C9EC51 #51ECC1
split-complementary
#7451EC #ECC151 #7CEC51
monochromatic
#3613AF #481AE6 #7451EC #A088F2 #CCBFF8

Accessibility & contrast

On white

5.08
#7451EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7451EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7451EC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7451EC#FFFFFF#000000##FFFFFF
##7451EC1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#006AE9
Tritanopia (blue-blind)
#477898
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7451ec;
/* rgb */ color: rgb(116, 81, 236);
/* oklch */ color: oklch(56.1% 0.221 287.4);
Tailwind
colors: {
  custom: {
    50: '#a684f3',
    500: '#7451ec',
    950: '#000000',
  },
}
SCSS
$custom: #7451ec;
$custom-light: #a684f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7451ec",
  "rgb": {
    "r": 116,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 253.548,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56136,
    "c": 0.22092,
    "h": 287.4
  },
  "luminance": 0.15654
}

Semantic roles & 50–950 ramp

primary
#7451EC
secondary
#DCE9B0
accent
#DD09AD
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7451EC

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

Preview Lab → · Contrast checker → · Palette generator →

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