#7452EB#7452EB

#7452EB is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.219 H 287.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7452EB
RGBrgb(116, 82, 235)
HSLhsl(253, 79%, 62%)
HSVhsv(253, 65%, 92%)
CMYKcmyk(50.6%, 65.1%, 0%, 7.8%)
CIE-LABlab(46.64, 51.27, -72.69)
CIE-LCHlch(46.64, 88.95, 305.19°)
OKLaboklab(56.2% 0.0653 -0.2086)
OKLCHoklch(56.2% 0.219 287.4)
XYZxyz(25.2107, 15.7445, 80.2918)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7452EB #C9EB52
analogous
#527DEB #7452EB #C052EB
triadic
#7452EB #EB7452 #52EB74
tetradic
#7452EB #EB527D #C9EB52 #52EBC0
square
#7452EB #EB527D #C9EB52 #52EBC0
split-complementary
#7452EB #EBC052 #7DEB52
monochromatic
#3614AE #481BE5 #7452EB #A089F1 #CCC0F8

Accessibility & contrast

On white

5.06
#7452EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7452EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7452EB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7452EB#FFFFFF#000000##FFFFFF
##7452EB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7452eb;
/* rgb */ color: rgb(116, 82, 235);
/* oklch */ color: oklch(56.2% 0.219 287.4);
Tailwind
colors: {
  custom: {
    50: '#a685f2',
    500: '#7452eb',
    950: '#000000',
  },
}
SCSS
$custom: #7452eb;
$custom-light: #a685f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7452eb",
  "rgb": {
    "r": 116,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 253.333,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.562,
    "c": 0.21854,
    "h": 287.4
  },
  "luminance": 0.15746
}

Semantic roles & 50–950 ramp

primary
#7452EB
secondary
#DCE8B0
accent
#DC0AAD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7452EB

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

Preview Lab → · Contrast checker → · Palette generator →

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