#7541BE#7541BE

#7541BE is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.4% C 0.187 H 298.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7541BE
RGBrgb(117, 65, 190)
HSLhsl(265, 49%, 50%)
HSVhsv(265, 66%, 75%)
CMYKcmyk(38.4%, 65.8%, 0%, 25.5%)
CIE-LABlab(40.05, 48.27, -57.57)
CIE-LCHlch(40.05, 75.13, 309.98°)
OKLaboklab(50.42% 0.0893 -0.164)
OKLCHoklch(50.42% 0.187 298.6)
XYZxyz(18.5183, 11.2800, 49.9068)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541BE #8ABE41
analogous
#414BBE #7541BE #B441BE
triadic
#7541BE #BE7541 #41BE75
tetradic
#7541BE #BE414B #8ABE41 #41BEB4
square
#7541BE #BE414B #8ABE41 #41BEB4
split-complementary
#7541BE #BEB441 #4BBE41
monochromatic
#3D2263 #593190 #7541BE #966FCE #B79CDD

Accessibility & contrast

On white

6.45
#7541BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7541BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7541BE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541BE#FFFFFF#000000##FFFFFF
##7541BE1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#645E7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7541be;
/* rgb */ color: rgb(117, 65, 190);
/* oklch */ color: oklch(50.4% 0.187 298.6);
Tailwind
colors: {
  custom: {
    50: '#a279d2',
    500: '#7541be',
    950: '#000000',
  },
}
SCSS
$custom: #7541be;
$custom-light: #a279d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7541be",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 264.96,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.5042,
    "c": 0.18677,
    "h": 298.6
  },
  "luminance": 0.1128
}

Semantic roles & 50–950 ramp

primary
#7541BE
secondary
#B2C991
accent
#D94F9F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7541BE

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

Preview Lab → · Contrast checker → · Palette generator →

#7541BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva