#7541BD#7541BD

#7541BD is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.3% C 0.186 H 298.8°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7541BD
RGBrgb(117, 65, 189)
HSLhsl(265, 49%, 50%)
HSVhsv(265, 66%, 74%)
CMYKcmyk(38.1%, 65.6%, 0%, 25.9%)
CIE-LABlab(39.98, 48.02, -57.10)
CIE-LCHlch(39.98, 74.61, 310.06°)
OKLaboklab(50.35% 0.0894 -0.1627)
OKLCHoklch(50.35% 0.186 298.8)
XYZxyz(18.4094, 11.2364, 49.3332)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541BD #89BD41
analogous
#414BBD #7541BD #B341BD
triadic
#7541BD #BD7541 #41BD75
tetradic
#7541BD #BD414B #89BD41 #41BDB3
square
#7541BD #BD414B #89BD41 #41BDB3
split-complementary
#7541BD #BDB341 #4BBD41
monochromatic
#3D2262 #59318F #7541BD #966ECD #B79CDD

Accessibility & contrast

On white

6.47
#7541BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7541BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7541BD
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541BD#FFFFFF#000000##FFFFFF
##7541BD1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#645D79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7541bd;
/* rgb */ color: rgb(117, 65, 189);
/* oklch */ color: oklch(50.3% 0.186 298.8);
Tailwind
colors: {
  custom: {
    50: '#a279d2',
    500: '#7541bd',
    950: '#000000',
  },
}
SCSS
$custom: #7541bd;
$custom-light: #a279d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7541bd",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 265.161,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50345,
    "c": 0.18561,
    "h": 298.8
  },
  "luminance": 0.11237
}

Semantic roles & 50–950 ramp

primary
#7541BD
secondary
#B1C991
accent
#D84F9F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7541BD

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

Preview Lab → · Contrast checker → · Palette generator →

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