#7541B8#7541B8

#7541B8 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.0% C 0.180 H 300.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7541B8
RGBrgb(117, 65, 184)
HSLhsl(266, 48%, 49%)
HSVhsv(266, 65%, 72%)
CMYKcmyk(36.4%, 64.7%, 0%, 27.8%)
CIE-LABlab(39.62, 46.73, -54.74)
CIE-LCHlch(39.62, 71.98, 310.49°)
OKLaboklab(49.98% 0.0899 -0.1557)
OKLCHoklch(49.98% 0.18 300)
XYZxyz(17.8760, 11.0230, 46.5240)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541B8 #84B841
analogous
#4149B8 #7541B8 #B141B8
triadic
#7541B8 #B87541 #41B875
tetradic
#7541B8 #B84149 #84B841 #41B8B1
square
#7541B8 #B84149 #84B841 #41B8B1
split-complementary
#7541B8 #B8B141 #49B841
monochromatic
#3B215E #58318B #7541B8 #956BCB #B699DB

Accessibility & contrast

On white

6.55
#7541B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7541B8
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541B8#FFFFFF#000000##FFFFFF
##7541B81.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#055CB5
Tritanopia (blue-blind)
#665C77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7541b8;
/* rgb */ color: rgb(117, 65, 184);
/* oklch */ color: oklch(50.0% 0.180 300.0);
Tailwind
colors: {
  custom: {
    50: '#a279ce',
    500: '#7541b8',
    950: '#000000',
  },
}
SCSS
$custom: #7541b8;
$custom-light: #a279ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7541b8",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 266.218,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49975,
    "c": 0.17982,
    "h": 300
  },
  "luminance": 0.11023
}

Semantic roles & 50–950 ramp

primary
#7541B8
secondary
#AEC78E
accent
#D7509C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7541B8

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

Preview Lab → · Contrast checker → · Palette generator →

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