#7352EC#7352EC

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

Color values

HEX#7352EC
RGBrgb(115, 82, 236)
HSLhsl(253, 80%, 62%)
HSVhsv(253, 65%, 93%)
CMYKcmyk(51.3%, 65.3%, 0%, 7.5%)
CIE-LABlab(46.62, 51.38, -73.28)
CIE-LCHlch(46.62, 89.50, 305.03°)
OKLaboklab(56.19% 0.0638 -0.2103)
OKLCHoklch(56.19% 0.22 286.9)
XYZxyz(25.2234, 15.7343, 81.0486)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7352EC #CBEC52
analogous
#527EEC #7352EC #C052EC
triadic
#7352EC #EC7352 #52EC73
tetradic
#7352EC #EC527E #CBEC52 #52ECC0
square
#7352EC #EC527E #CBEC52 #52ECC0
split-complementary
#7352EC #ECC052 #7EEC52
monochromatic
#3513B0 #461BE6 #7352EC #A089F2 #CCC0F8

Accessibility & contrast

On white

5.06
#7352EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7352EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7352EC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7352EC#FFFFFF#000000##FFFFFF
##7352EC1.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)
#0072F1
Deuteranopia (green-blind)
#006AE9
Tritanopia (blue-blind)
#457898
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7352ec;
/* rgb */ color: rgb(115, 82, 236);
/* oklch */ color: oklch(56.2% 0.220 286.9);
Tailwind
colors: {
  custom: {
    50: '#a585f3',
    500: '#7352ec',
    950: '#000000',
  },
}
SCSS
$custom: #7352ec;
$custom-light: #a585f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7352ec",
  "rgb": {
    "r": 115,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 252.857,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56193,
    "c": 0.2198,
    "h": 286.9
  },
  "luminance": 0.15736
}

Semantic roles & 50–950 ramp

primary
#7352EC
secondary
#DDE9B1
accent
#DD09AF
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7352EC

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

Preview Lab → · Contrast checker → · Palette generator →

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