#7451D8#7451D8

#7451D8 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.6% C 0.197 H 290.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7451D8
RGBrgb(116, 81, 216)
HSLhsl(256, 63%, 58%)
HSVhsv(256, 63%, 85%)
CMYKcmyk(46.3%, 62.5%, 0%, 15.3%)
CIE-LABlab(45.02, 46.46, -64.55)
CIE-LCHlch(45.02, 79.53, 305.74°)
OKLaboklab(54.58% 0.0682 -0.1846)
OKLCHoklch(54.58% 0.197 290.3)
XYZxyz(22.5361, 14.5549, 66.5744)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7451D8 #B5D851
analogous
#5171D8 #7451D8 #B851D8
triadic
#7451D8 #D87451 #51D874
tetradic
#7451D8 #D85171 #B5D851 #51D8B8
square
#7451D8 #D85171 #B5D851 #51D8B8
split-complementary
#7451D8 #D8B851 #71D851
monochromatic
#3D208F #522BC1 #7451D8 #9C83E3 #C4B5EE

Accessibility & contrast

On white

5.37
#7451D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7451D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7451D8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7451D8#FFFFFF#000000##FFFFFF
##7451D81.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#55718D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7451d8;
/* rgb */ color: rgb(116, 81, 216);
/* oklch */ color: oklch(54.6% 0.197 290.3);
Tailwind
colors: {
  custom: {
    50: '#a384e5',
    500: '#7451d8',
    950: '#000000',
  },
}
SCSS
$custom: #7451d8;
$custom-light: #a384e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7451d8",
  "rgb": {
    "r": 116,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 255.556,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54584,
    "c": 0.19681,
    "h": 290.3
  },
  "luminance": 0.14556
}

Semantic roles & 50–950 ramp

primary
#7451D8
secondary
#CFDDA8
accent
#E641BC
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7451D8

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

Preview Lab → · Contrast checker → · Palette generator →

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