#7451D2#7451D2

#7451D2 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.1% C 0.189 H 291.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7451D2
RGBrgb(116, 81, 210)
HSLhsl(256, 59%, 57%)
HSVhsv(256, 61%, 82%)
CMYKcmyk(44.8%, 61.4%, 0%, 17.6%)
CIE-LABlab(44.59, 44.78, -61.81)
CIE-LCHlch(44.59, 76.32, 305.92°)
OKLaboklab(54.14% 0.0687 -0.1766)
OKLCHoklch(54.14% 0.189 291.2)
XYZxyz(21.7745, 14.2503, 62.5636)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7451D2 #AFD251
analogous
#516FD2 #7451D2 #B551D2
triadic
#7451D2 #D27451 #51D274
tetradic
#7451D2 #D2516F #AFD251 #51D2B5
square
#7451D2 #D2516F #AFD251 #51D2B5
split-complementary
#7451D2 #D2B551 #6FD251
monochromatic
#3E2386 #542FB7 #7451D2 #9B82DF #C2B2EB

Accessibility & contrast

On white

5.45
#7451D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7451D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7451D2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7451D2#FFFFFF#000000##FFFFFF
##7451D21.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#586F8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7451d2;
/* rgb */ color: rgb(116, 81, 210);
/* oklch */ color: oklch(54.1% 0.189 291.2);
Tailwind
colors: {
  custom: {
    50: '#a383e1',
    500: '#7451d2',
    950: '#000000',
  },
}
SCSS
$custom: #7451d2;
$custom-light: #a383e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7451d2",
  "rgb": {
    "r": 116,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 256.279,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54137,
    "c": 0.18943,
    "h": 291.2
  },
  "luminance": 0.14251
}

Semantic roles & 50–950 ramp

primary
#7451D2
secondary
#CBDAA5
accent
#E246B8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7451D2

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

Preview Lab → · Contrast checker → · Palette generator →

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