#7451C2#7451C2

#7451C2 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.0% C 0.169 H 294.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7451C2
RGBrgb(116, 81, 194)
HSLhsl(259, 48%, 54%)
HSVhsv(259, 58%, 76%)
CMYKcmyk(40.2%, 58.2%, 0%, 23.9%)
CIE-LABlab(43.50, 40.35, -54.34)
CIE-LCHlch(43.50, 67.68, 306.60°)
OKLaboklab(52.99% 0.0693 -0.1546)
OKLCHoklch(52.99% 0.169 294.1)
XYZxyz(19.8799, 13.4924, 52.5854)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7451C2 #9FC251
analogous
#5167C2 #7451C2 #AD51C2
triadic
#7451C2 #C27451 #51C274
tetradic
#7451C2 #C25167 #9FC251 #51C2AD
square
#7451C2 #C25167 #9FC251 #51C2AD
split-complementary
#7451C2 #C2AD51 #67C251
monochromatic
#3E2871 #57379E #7451C2 #987ED2 #BCACE2

Accessibility & contrast

On white

5.68
#7451C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7451C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7451C2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7451C2#FFFFFF#000000##FFFFFF
##7451C21.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0968C6
Deuteranopia (green-blind)
#1D65C0
Tritanopia (blue-blind)
#606982
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7451c2;
/* rgb */ color: rgb(116, 81, 194);
/* oklch */ color: oklch(53.0% 0.169 294.1);
Tailwind
colors: {
  custom: {
    50: '#a183d5',
    500: '#7451c2',
    950: '#000000',
  },
}
SCSS
$custom: #7451c2;
$custom-light: #a183d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7451c2",
  "rgb": {
    "r": 116,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 258.584,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5299,
    "c": 0.1694,
    "h": 294.1
  },
  "luminance": 0.13493
}

Semantic roles & 50–950 ramp

primary
#7451C2
secondary
#C1D09F
accent
#D850AE
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7451C2

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

Preview Lab → · Contrast checker → · Palette generator →

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