#7541BB#7541BB

#7541BB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.183 H 299.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7541BB
RGBrgb(117, 65, 187)
HSLhsl(266, 48%, 49%)
HSVhsv(266, 65%, 73%)
CMYKcmyk(37.4%, 65.2%, 0%, 26.7%)
CIE-LABlab(39.83, 47.50, -56.16)
CIE-LCHlch(39.83, 73.56, 310.23°)
OKLaboklab(50.2% 0.0896 -0.1599)
OKLCHoklch(50.2% 0.183 299.3)
XYZxyz(18.1938, 11.1502, 48.1977)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541BB #87BB41
analogous
#414ABB #7541BB #B241BB
triadic
#7541BB #BB7541 #41BB75
tetradic
#7541BB #BB414A #87BB41 #41BBB2
square
#7541BB #BB414A #87BB41 #41BBB2
split-complementary
#7541BB #BBB241 #4ABB41
monochromatic
#3C2160 #59318E #7541BB #966DCC #B69ADC

Accessibility & contrast

On white

6.50
#7541BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7541BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7541BB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541BB#FFFFFF#000000##FFFFFF
##7541BB1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#655D78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7541bb;
/* rgb */ color: rgb(117, 65, 187);
/* oklch */ color: oklch(50.2% 0.183 299.3);
Tailwind
colors: {
  custom: {
    50: '#a279d0',
    500: '#7541bb',
    950: '#000000',
  },
}
SCSS
$custom: #7541bb;
$custom-light: #a279d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7541bb",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 265.574,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50196,
    "c": 0.18329,
    "h": 299.3
  },
  "luminance": 0.1115
}

Semantic roles & 50–950 ramp

primary
#7541BB
secondary
#B0C890
accent
#D8509E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7541BB

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

Preview Lab → · Contrast checker → · Palette generator →

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