#7541BF#7541BF

#7541BF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.5% C 0.188 H 298.3°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7541BF
RGBrgb(117, 65, 191)
HSLhsl(265, 50%, 50%)
HSVhsv(265, 66%, 75%)
CMYKcmyk(38.7%, 66%, 0%, 25.1%)
CIE-LABlab(40.12, 48.53, -58.04)
CIE-LCHlch(40.12, 75.66, 309.90°)
OKLaboklab(50.5% 0.0892 -0.1654)
OKLCHoklch(50.5% 0.188 298.3)
XYZxyz(18.6280, 11.3238, 50.4844)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541BF #8BBF41
analogous
#414CBF #7541BF #B441BF
triadic
#7541BF #BF7541 #41BF75
tetradic
#7541BF #BF414C #8BBF41 #41BFB4
square
#7541BF #BF414C #8BBF41 #41BFB4
split-complementary
#7541BF #BFB441 #4CBF41
monochromatic
#3D2264 #593192 #7541BF #966FCE #B89DDE

Accessibility & contrast

On white

6.43
#7541BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7541BF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541BF#FFFFFF#000000##FFFFFF
##7541BF1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#645E7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7541bf;
/* rgb */ color: rgb(117, 65, 191);
/* oklch */ color: oklch(50.5% 0.188 298.3);
Tailwind
colors: {
  custom: {
    50: '#a279d3',
    500: '#7541bf',
    950: '#000000',
  },
}
SCSS
$custom: #7541bf;
$custom-light: #a279d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7541bf",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 264.762,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50495,
    "c": 0.18792,
    "h": 298.3
  },
  "luminance": 0.11324
}

Semantic roles & 50–950 ramp

primary
#7541BF
secondary
#B3CA92
accent
#D94FA0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7541BF

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

Preview Lab → · Contrast checker → · Palette generator →

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