#7452EF#7452EF

#7452EF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.5% C 0.223 H 286.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7452EF
RGBrgb(116, 82, 239)
HSLhsl(253, 83%, 63%)
HSVhsv(253, 66%, 94%)
CMYKcmyk(51.5%, 65.7%, 0%, 6.3%)
CIE-LABlab(46.95, 52.40, -74.44)
CIE-LCHlch(46.95, 91.04, 305.14°)
OKLaboklab(56.52% 0.0648 -0.2137)
OKLCHoklch(56.52% 0.223 286.9)
XYZxyz(25.7951, 15.9783, 83.3695)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7452EF #CDEF52
analogous
#527EEF #7452EF #C352EF
triadic
#7452EF #EF7452 #52EF74
tetradic
#7452EF #EF527E #CDEF52 #52EFC3
square
#7452EF #EF527E #CDEF52 #52EFC3
split-complementary
#7452EF #EFC352 #7EEF52
monochromatic
#3511B6 #471AEA #7452EF #A18AF4 #CEC2F9

Accessibility & contrast

On white

5.00
#7452EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7452EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7452EF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7452EF#FFFFFF#000000##FFFFFF
##7452EF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#44799A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7452ef;
/* rgb */ color: rgb(116, 82, 239);
/* oklch */ color: oklch(56.5% 0.223 286.9);
Tailwind
colors: {
  custom: {
    50: '#a685f5',
    500: '#7452ef',
    950: '#000000',
  },
}
SCSS
$custom: #7452ef;
$custom-light: #a685f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7452ef",
  "rgb": {
    "r": 116,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 252.994,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56519,
    "c": 0.22329,
    "h": 286.9
  },
  "luminance": 0.1598
}

Semantic roles & 50–950 ramp

primary
#7452EF
secondary
#DEEBB2
accent
#DF06B0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7452EF

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

Preview Lab → · Contrast checker → · Palette generator →

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