#7451B2#7451B2

#7451B2 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 51.9% C 0.149 H 297.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7451B2
RGBrgb(116, 81, 178)
HSLhsl(262, 39%, 51%)
HSVhsv(262, 54%, 70%)
CMYKcmyk(34.8%, 54.5%, 0%, 30.2%)
CIE-LABlab(42.48, 36.02, -46.62)
CIE-LCHlch(42.48, 58.91, 307.69°)
OKLaboklab(51.91% 0.0691 -0.1319)
OKLCHoklch(51.91% 0.149 297.6)
XYZxyz(18.1788, 12.8120, 43.6261)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7451B2 #8FB251
analogous
#515FB2 #7451B2 #A451B2
triadic
#7451B2 #B27451 #51B274
tetradic
#7451B2 #B2515F #8FB251 #51B2A4
square
#7451B2 #B2515F #8FB251 #51B2A4
split-complementary
#7451B2 #B2A451 #5FB251
monochromatic
#3D2A5F #583D89 #7451B2 #967BC5 #B8A6D8

Accessibility & contrast

On white

5.89
#7451B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7451B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7451B2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7451B2#FFFFFF#000000##FFFFFF
##7451B21.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#3363B0
Tritanopia (blue-blind)
#66647A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7451b2;
/* rgb */ color: rgb(116, 81, 178);
/* oklch */ color: oklch(51.9% 0.149 297.6);
Tailwind
colors: {
  custom: {
    50: '#9f83c9',
    500: '#7451b2',
    950: '#000000',
  },
}
SCSS
$custom: #7451b2;
$custom-light: #9f83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7451b2",
  "rgb": {
    "r": 116,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 261.649,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51914,
    "c": 0.14889,
    "h": 297.6
  },
  "luminance": 0.12812
}

Semantic roles & 50–950 ramp

primary
#7451B2
secondary
#B5C59A
accent
#CF59A4
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7451B2

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

Preview Lab → · Contrast checker → · Palette generator →

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