#7541C4#7541C4

#7541C4 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.194 H 297.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7541C4
RGBrgb(117, 65, 196)
HSLhsl(264, 53%, 51%)
HSVhsv(264, 67%, 77%)
CMYKcmyk(40.3%, 66.8%, 0%, 23.1%)
CIE-LABlab(40.49, 49.83, -60.36)
CIE-LCHlch(40.49, 78.27, 309.54°)
OKLaboklab(50.88% 0.0886 -0.1722)
OKLCHoklch(50.88% 0.194 297.2)
XYZxyz(19.1876, 11.5477, 53.4319)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541C4 #90C441
analogous
#414EC4 #7541C4 #B641C4
triadic
#7541C4 #C47541 #41C475
tetradic
#7541C4 #C4414E #90C441 #41C4B6
square
#7541C4 #C4414E #90C441 #41C4B6
split-complementary
#7541C4 #C4B641 #4EC441
monochromatic
#3E216A #592F98 #7541C4 #9770D3 #B99EE1

Accessibility & contrast

On white

6.35
#7541C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7541C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7541C4
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541C4#FFFFFF#000000##FFFFFF
##7541C41.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#61607D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7541c4;
/* rgb */ color: rgb(117, 65, 196);
/* oklch */ color: oklch(50.9% 0.194 297.2);
Tailwind
colors: {
  custom: {
    50: '#a379d7',
    500: '#7541c4',
    950: '#000000',
  },
}
SCSS
$custom: #7541c4;
$custom-light: #a379d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7541c4",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 196
  },
  "hsl": {
    "h": 263.817,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50875,
    "c": 0.19368,
    "h": 297.2
  },
  "luminance": 0.11548
}

Semantic roles & 50–950 ramp

primary
#7541C4
secondary
#B6CD93
accent
#DC4CA3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7541C4

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

Preview Lab → · Contrast checker → · Palette generator →

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