#7451BA#7451BA

#7451BA is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.4% C 0.159 H 295.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7451BA
RGBrgb(116, 81, 186)
HSLhsl(260, 43%, 52%)
HSVhsv(260, 56%, 73%)
CMYKcmyk(37.6%, 56.5%, 0%, 27.1%)
CIE-LABlab(42.98, 38.17, -50.51)
CIE-LCHlch(42.98, 63.31, 307.08°)
OKLaboklab(52.44% 0.0693 -0.1433)
OKLCHoklch(52.44% 0.159 295.8)
XYZxyz(19.0055, 13.1427, 47.9803)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7451BA #97BA51
analogous
#5163BA #7451BA #A951BA
triadic
#7451BA #BA7451 #51BA74
tetradic
#7451BA #BA5163 #97BA51 #51BAA9
square
#7451BA #BA5163 #97BA51 #51BAA9
split-complementary
#7451BA #BAA951 #63BA51
monochromatic
#3E2968 #583A93 #7451BA #977DCB #BAA9DD

Accessibility & contrast

On white

5.79
#7451BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7451BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7451BA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7451BA#FFFFFF#000000##FFFFFF
##7451BA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D66BE
Deuteranopia (green-blind)
#2A64B8
Tritanopia (blue-blind)
#63677E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7451ba;
/* rgb */ color: rgb(116, 81, 186);
/* oklch */ color: oklch(52.4% 0.159 295.8);
Tailwind
colors: {
  custom: {
    50: '#a083cf',
    500: '#7451ba',
    950: '#000000',
  },
}
SCSS
$custom: #7451ba;
$custom-light: #a083cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7451ba",
  "rgb": {
    "r": 116,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 260,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52443,
    "c": 0.1592,
    "h": 295.8
  },
  "luminance": 0.13143
}

Semantic roles & 50–950 ramp

primary
#7451BA
secondary
#BBCA9D
accent
#D355A9
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7451BA

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

Preview Lab → · Contrast checker → · Palette generator →

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