#7541D8#7541D8

#7541D8 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.216 H 293.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7541D8
RGBrgb(117, 65, 216)
HSLhsl(261, 66%, 55%)
HSVhsv(261, 70%, 85%)
CMYKcmyk(45.8%, 69.9%, 0%, 15.3%)
CIE-LABlab(42.03, 55.08, -69.41)
CIE-LCHlch(42.03, 88.60, 308.43°)
OKLaboklab(52.46% 0.0854 -0.1988)
OKLCHoklch(52.46% 0.216 293.2)
XYZxyz(21.6177, 12.5197, 66.2300)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541D8 #A4D841
analogous
#4159D8 #7541D8 #C041D8
triadic
#7541D8 #D87541 #41D875
tetradic
#7541D8 #D84159 #A4D841 #41D8C0
square
#7541D8 #D84159 #A4D841 #41D8C0
split-complementary
#7541D8 #D8C041 #59D841
monochromatic
#3F1B84 #5725B6 #7541D8 #9A74E2 #BFA7ED

Accessibility & contrast

On white

5.99
#7541D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7541D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7541D8
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541D8#FFFFFF#000000##FFFFFF
##7541D81.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#586788
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7541d8;
/* rgb */ color: rgb(117, 65, 216);
/* oklch */ color: oklch(52.5% 0.216 293.2);
Tailwind
colors: {
  custom: {
    50: '#a57ae5',
    500: '#7541d8',
    950: '#000000',
  },
}
SCSS
$custom: #7541d8;
$custom-light: #a57ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#7541d8",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 260.662,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52459,
    "c": 0.21639,
    "h": 293.2
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#7541D8
secondary
#C4DA9B
accent
#E93FAE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7541D8

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

Preview Lab → · Contrast checker → · Palette generator →

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