#7541BC#7541BC

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

Color values

HEX#7541BC
RGBrgb(117, 65, 188)
HSLhsl(265, 49%, 50%)
HSVhsv(265, 65%, 74%)
CMYKcmyk(37.8%, 65.4%, 0%, 26.3%)
CIE-LABlab(39.90, 47.76, -56.63)
CIE-LCHlch(39.90, 74.08, 310.14°)
OKLaboklab(50.27% 0.0895 -0.1613)
OKLCHoklch(50.27% 0.184 299)
XYZxyz(18.3012, 11.1931, 48.7635)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541BC #88BC41
analogous
#414ABC #7541BC #B341BC
triadic
#7541BC #BC7541 #41BC75
tetradic
#7541BC #BC414A #88BC41 #41BCB3
square
#7541BC #BC414A #88BC41 #41BCB3
split-complementary
#7541BC #BCB341 #4ABC41
monochromatic
#3C2261 #59318F #7541BC #966ECD #B79BDC

Accessibility & contrast

On white

6.48
#7541BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7541BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7541BC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541BC#FFFFFF#000000##FFFFFF
##7541BC1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#655D79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7541bc;
/* rgb */ color: rgb(117, 65, 188);
/* oklch */ color: oklch(50.3% 0.184 299.0);
Tailwind
colors: {
  custom: {
    50: '#a279d1',
    500: '#7541bc',
    950: '#000000',
  },
}
SCSS
$custom: #7541bc;
$custom-light: #a279d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7541bc",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 265.366,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50271,
    "c": 0.18445,
    "h": 299
  },
  "luminance": 0.11193
}

Semantic roles & 50–950 ramp

primary
#7541BC
secondary
#B1C990
accent
#D8509E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7541BC

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

Preview Lab → · Contrast checker → · Palette generator →

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