#7541B7#7541B7

#7541B7 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.9% C 0.179 H 300.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7541B7
RGBrgb(117, 65, 183)
HSLhsl(266, 48%, 49%)
HSVhsv(266, 64%, 72%)
CMYKcmyk(36.1%, 64.5%, 0%, 28.2%)
CIE-LABlab(39.55, 46.48, -54.27)
CIE-LCHlch(39.55, 71.45, 310.58°)
OKLaboklab(49.9% 0.09 -0.1543)
OKLCHoklch(49.9% 0.179 300.2)
XYZxyz(17.7716, 10.9813, 45.9739)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541B7 #83B741
analogous
#4148B7 #7541B7 #B041B7
triadic
#7541B7 #B77541 #41B775
tetradic
#7541B7 #B74148 #83B741 #41B7B0
square
#7541B7 #B74148 #83B741 #41B7B0
split-complementary
#7541B7 #B7B041 #48B741
monochromatic
#3B215D #58318A #7541B7 #956BCA #B598DA

Accessibility & contrast

On white

6.57
#7541B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7541B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7541B7
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541B7#FFFFFF#000000##FFFFFF
##7541B71.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#0A5CB4
Tritanopia (blue-blind)
#675B76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7541b7;
/* rgb */ color: rgb(117, 65, 183);
/* oklch */ color: oklch(49.9% 0.179 300.2);
Tailwind
colors: {
  custom: {
    50: '#a179cd',
    500: '#7541b7',
    950: '#000000',
  },
}
SCSS
$custom: #7541b7;
$custom-light: #a179cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7541b7",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 266.441,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49902,
    "c": 0.17865,
    "h": 300.2
  },
  "luminance": 0.10981
}

Semantic roles & 50–950 ramp

primary
#7541B7
secondary
#ADC68E
accent
#D7519C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7541B7

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

Preview Lab → · Contrast checker → · Palette generator →

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