#7541D1#7541D1

#7541D1 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.9% C 0.208 H 294.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7541D1
RGBrgb(117, 65, 209)
HSLhsl(262, 61%, 54%)
HSVhsv(262, 69%, 82%)
CMYKcmyk(44%, 68.9%, 0%, 18%)
CIE-LABlab(41.48, 53.23, -66.28)
CIE-LCHlch(41.48, 85.01, 308.77°)
OKLaboklab(51.89% 0.0866 -0.1897)
OKLCHoklch(51.89% 0.208 294.5)
XYZxyz(20.7319, 12.1654, 61.5651)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541D1 #9DD141
analogous
#4155D1 #7541D1 #BD41D1
triadic
#7541D1 #D17541 #41D175
tetradic
#7541D1 #D14155 #9DD141 #41D1BD
square
#7541D1 #D14155 #9DD141 #41D1BD
split-complementary
#7541D1 #D1BD41 #55D141
monochromatic
#3F1E7A #5829AB #7541D1 #9972DD #BDA4E9

Accessibility & contrast

On white

6.12
#7541D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7541D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7541D1
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541D1#FFFFFF#000000##FFFFFF
##7541D11.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#5B6584
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7541d1;
/* rgb */ color: rgb(117, 65, 209);
/* oklch */ color: oklch(51.9% 0.208 294.5);
Tailwind
colors: {
  custom: {
    50: '#a479e0',
    500: '#7541d1',
    950: '#000000',
  },
}
SCSS
$custom: #7541d1;
$custom-light: #a479e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7541d1",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 261.667,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51893,
    "c": 0.20849,
    "h": 294.5
  },
  "luminance": 0.12166
}

Semantic roles & 50–950 ramp

primary
#7541D1
secondary
#BFD698
accent
#E444AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7541D1

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

Preview Lab → · Contrast checker → · Palette generator →

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