#7451E2#7451E2

#7451E2 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.3% C 0.209 H 288.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7451E2
RGBrgb(116, 81, 226)
HSLhsl(254, 71%, 60%)
HSVhsv(254, 64%, 89%)
CMYKcmyk(48.7%, 64.2%, 0%, 11.4%)
CIE-LABlab(45.75, 49.27, -69.04)
CIE-LCHlch(45.75, 84.82, 305.51°)
OKLaboklab(55.35% 0.0673 -0.1978)
OKLCHoklch(55.35% 0.209 288.8)
XYZxyz(23.8684, 15.0878, 73.5914)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7451E2 #BFE251
analogous
#5176E2 #7451E2 #BD51E2
triadic
#7451E2 #E27451 #51E274
tetradic
#7451E2 #E25176 #BFE251 #51E2BD
square
#7451E2 #E25176 #BFE251 #51E2BD
split-complementary
#7451E2 #E2BD51 #76E251
monochromatic
#3A1A9E #4D23D3 #7451E2 #9E85EB #C8BAF3

Accessibility & contrast

On white

5.23
#7451E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7451E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7451E2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7451E2#FFFFFF#000000##FFFFFF
##7451E21.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#4E7492
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7451e2;
/* rgb */ color: rgb(116, 81, 226);
/* oklch */ color: oklch(55.3% 0.209 288.8);
Tailwind
colors: {
  custom: {
    50: '#a484ec',
    500: '#7451e2',
    950: '#000000',
  },
}
SCSS
$custom: #7451e2;
$custom-light: #a484ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7451e2",
  "rgb": {
    "r": 116,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 254.483,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55349,
    "c": 0.20895,
    "h": 288.8
  },
  "luminance": 0.15089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7451E2

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

Preview Lab → · Contrast checker → · Palette generator →

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