#7541BA#7541BA

#7541BA is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.1% C 0.182 H 299.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7541BA
RGBrgb(117, 65, 186)
HSLhsl(266, 48%, 49%)
HSVhsv(266, 65%, 73%)
CMYKcmyk(37.1%, 65.1%, 0%, 27.1%)
CIE-LABlab(39.76, 47.25, -55.69)
CIE-LCHlch(39.76, 73.03, 310.31°)
OKLaboklab(50.12% 0.0897 -0.1585)
OKLCHoklch(50.12% 0.182 299.5)
XYZxyz(18.0871, 11.1075, 47.6359)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541BA #86BA41
analogous
#414ABA #7541BA #B241BA
triadic
#7541BA #BA7541 #41BA75
tetradic
#7541BA #BA414A #86BA41 #41BAB2
square
#7541BA #BA414A #86BA41 #41BAB2
split-complementary
#7541BA #BAB241 #4ABA41
monochromatic
#3C215F #58318D #7541BA #956CCC #B69ADC

Accessibility & contrast

On white

6.52
#7541BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7541BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7541BA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541BA#FFFFFF#000000##FFFFFF
##7541BA1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#005DB7
Tritanopia (blue-blind)
#665C78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7541ba;
/* rgb */ color: rgb(117, 65, 186);
/* oklch */ color: oklch(50.1% 0.182 299.5);
Tailwind
colors: {
  custom: {
    50: '#a279cf',
    500: '#7541ba',
    950: '#000000',
  },
}
SCSS
$custom: #7541ba;
$custom-light: #a279cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7541ba",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 265.785,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50122,
    "c": 0.18214,
    "h": 299.5
  },
  "luminance": 0.11108
}

Semantic roles & 50–950 ramp

primary
#7541BA
secondary
#AFC88F
accent
#D8509D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7541BA

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

Preview Lab → · Contrast checker → · Palette generator →

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