#7541D7#7541D7

#7541D7 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.4% C 0.215 H 293.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7541D7
RGBrgb(117, 65, 215)
HSLhsl(261, 65%, 55%)
HSVhsv(261, 70%, 84%)
CMYKcmyk(45.6%, 69.8%, 0%, 15.7%)
CIE-LABlab(41.95, 54.81, -68.96)
CIE-LCHlch(41.95, 88.09, 308.48°)
OKLaboklab(52.38% 0.0856 -0.1975)
OKLCHoklch(52.38% 0.215 293.4)
XYZxyz(21.4888, 12.4681, 65.5512)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541D7 #A3D741
analogous
#4158D7 #7541D7 #C041D7
triadic
#7541D7 #D77541 #41D775
tetradic
#7541D7 #D74158 #A3D741 #41D7C0
square
#7541D7 #D74158 #A3D741 #41D7C0
split-complementary
#7541D7 #D7C041 #58D741
monochromatic
#3F1B82 #5826B5 #7541D7 #9A74E2 #BEA6EC

Accessibility & contrast

On white

6.01
#7541D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7541D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7541D7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541D7#FFFFFF#000000##FFFFFF
##7541D71.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#586787
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7541d7;
/* rgb */ color: rgb(117, 65, 215);
/* oklch */ color: oklch(52.4% 0.215 293.4);
Tailwind
colors: {
  custom: {
    50: '#a57ae4',
    500: '#7541d7',
    950: '#000000',
  },
}
SCSS
$custom: #7541d7;
$custom-light: #a57ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#7541d7",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 260.8,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52377,
    "c": 0.21526,
    "h": 293.4
  },
  "luminance": 0.12469
}

Semantic roles & 50–950 ramp

primary
#7541D7
secondary
#C4D99A
accent
#E840AE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7541D7

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

Preview Lab → · Contrast checker → · Palette generator →

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