#7452E2#7452E2

#7452E2 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.5% C 0.208 H 288.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7452E2
RGBrgb(116, 82, 226)
HSLhsl(254, 71%, 60%)
HSVhsv(254, 64%, 89%)
CMYKcmyk(48.7%, 63.7%, 0%, 11.4%)
CIE-LABlab(45.96, 48.72, -68.71)
CIE-LCHlch(45.96, 84.23, 305.34°)
OKLaboklab(55.5% 0.0663 -0.1969)
OKLCHoklch(55.5% 0.208 288.6)
XYZxyz(23.9432, 15.2375, 73.6163)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7452E2 #C0E252
analogous
#5278E2 #7452E2 #BC52E2
triadic
#7452E2 #E27452 #52E274
tetradic
#7452E2 #E25278 #C0E252 #52E2BC
square
#7452E2 #E25278 #C0E252 #52E2BC
split-complementary
#7452E2 #E2BC52 #78E252
monochromatic
#3A1B9F #4D23D3 #7452E2 #9E86EB #C8BBF4

Accessibility & contrast

On white

5.19
#7452E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7452E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7452E2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7452E2#FFFFFF#000000##FFFFFF
##7452E21.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#4E7593
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7452e2;
/* rgb */ color: rgb(116, 82, 226);
/* oklch */ color: oklch(55.5% 0.208 288.6);
Tailwind
colors: {
  custom: {
    50: '#a484ec',
    500: '#7452e2',
    950: '#000000',
  },
}
SCSS
$custom: #7452e2;
$custom-light: #a484ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7452e2",
  "rgb": {
    "r": 116,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 254.167,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55496,
    "c": 0.20772,
    "h": 288.6
  },
  "luminance": 0.15239
}

Semantic roles & 50–950 ramp

primary
#7452E2
secondary
#D6E3AC
accent
#D312A6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7452E2

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

Preview Lab → · Contrast checker → · Palette generator →

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