#7458EC#7458EC

#7458EC is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.2% C 0.212 H 286.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7458EC
RGBrgb(116, 88, 236)
HSLhsl(251, 80%, 64%)
HSVhsv(251, 63%, 93%)
CMYKcmyk(50.8%, 62.7%, 0%, 7.5%)
CIE-LABlab(47.94, 48.25, -71.14)
CIE-LCHlch(47.94, 85.96, 304.15°)
OKLaboklab(57.17% 0.0595 -0.204)
OKLCHoklch(57.17% 0.212 286.3)
XYZxyz(25.8280, 16.7473, 81.2122)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7458EC #D0EC58
analogous
#5886EC #7458EC #BE58EC
triadic
#7458EC #EC7458 #58EC74
tetradic
#7458EC #EC5886 #D0EC58 #58ECBE
square
#7458EC #EC5886 #D0EC58 #58ECBE
split-complementary
#7458EC #ECBE58 #86EC58
monochromatic
#3315B5 #4621E6 #7458EC #A28FF2 #CFC6F9

Accessibility & contrast

On white

4.83
#7458EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7458EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7458EC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7458EC#FFFFFF#000000##FFFFFF
##7458EC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#006DE9
Tritanopia (blue-blind)
#467C9A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7458ec;
/* rgb */ color: rgb(116, 88, 236);
/* oklch */ color: oklch(57.2% 0.212 286.3);
Tailwind
colors: {
  custom: {
    50: '#a589f3',
    500: '#7458ec',
    950: '#000000',
  },
}
SCSS
$custom: #7458ec;
$custom-light: #a589f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7458ec",
  "rgb": {
    "r": 116,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 251.351,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.21247,
    "h": 286.3
  },
  "luminance": 0.16749
}

Semantic roles & 50–950 ramp

primary
#7458EC
secondary
#E0EAB6
accent
#DC0AB4
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7458EC

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

Preview Lab → · Contrast checker → · Palette generator →

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