#7452F2#7452F2

#7452F2 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.227 H 286.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7452F2
RGBrgb(116, 82, 242)
HSLhsl(253, 86%, 64%)
HSVhsv(253, 66%, 95%)
CMYKcmyk(52.1%, 66.1%, 0%, 5.1%)
CIE-LABlab(47.18, 53.25, -75.74)
CIE-LCHlch(47.18, 92.59, 305.11°)
OKLaboklab(56.76% 0.0644 -0.2175)
OKLCHoklch(56.76% 0.227 286.5)
XYZxyz(26.2420, 16.1570, 85.7231)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7452F2 #D0F252
analogous
#5280F2 #7452F2 #C452F2
triadic
#7452F2 #F27452 #52F274
tetradic
#7452F2 #F25280 #D0F252 #52F2C4
square
#7452F2 #F25280 #D0F252 #52F2C4
split-complementary
#7452F2 #F2C452 #80F252
monochromatic
#330EBC #4619EE #7452F2 #A28BF6 #CFC4FB

Accessibility & contrast

On white

4.96
#7452F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7452F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7452F2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7452F2#FFFFFF#000000##FFFFFF
##7452F21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F7
Deuteranopia (green-blind)
#006BEF
Tritanopia (blue-blind)
#427A9B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7452f2;
/* rgb */ color: rgb(116, 82, 242);
/* oklch */ color: oklch(56.8% 0.227 286.5);
Tailwind
colors: {
  custom: {
    50: '#a685f7',
    500: '#7452f2',
    950: '#000000',
  },
}
SCSS
$custom: #7452f2;
$custom-light: #a685f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7452f2",
  "rgb": {
    "r": 116,
    "g": 82,
    "b": 242
  },
  "hsl": {
    "h": 252.75,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.5676,
    "c": 0.22685,
    "h": 286.5
  },
  "luminance": 0.16158
}

Semantic roles & 50–950 ramp

primary
#7452F2
secondary
#E0ECB4
accent
#E303B3
background
#FAF8FF
surface
#F5EFFF
border
#CFCAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7452F2

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

Preview Lab → · Contrast checker → · Palette generator →

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