#7541C8#7541C8

#7541C8 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.198 H 296.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7541C8
RGBrgb(117, 65, 200)
HSLhsl(263, 55%, 52%)
HSVhsv(263, 68%, 78%)
CMYKcmyk(41.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(40.79, 50.87, -62.20)
CIE-LCHlch(40.79, 80.35, 309.28°)
OKLaboklab(51.18% 0.088 -0.1776)
OKLCHoklch(51.18% 0.198 296.4)
XYZxyz(19.6490, 11.7322, 55.8617)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541C8 #94C841
analogous
#4151C8 #7541C8 #B941C8
triadic
#7541C8 #C87541 #41C875
tetradic
#7541C8 #C84151 #94C841 #41C8B9
square
#7541C8 #C84151 #94C841 #41C8B9
split-complementary
#7541C8 #C8B941 #51C841
monochromatic
#3E206F #592E9E #7541C8 #9770D6 #BAA0E3

Accessibility & contrast

On white

6.28
#7541C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7541C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7541C8
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541C8#FFFFFF#000000##FFFFFF
##7541C81.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#60617F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7541c8;
/* rgb */ color: rgb(117, 65, 200);
/* oklch */ color: oklch(51.2% 0.198 296.4);
Tailwind
colors: {
  custom: {
    50: '#a379da',
    500: '#7541c8',
    950: '#000000',
  },
}
SCSS
$custom: #7541c8;
$custom-light: #a379da;
$custom-dark: #000000;
JSON
{
  "hex": "#7541c8",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 263.111,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51184,
    "c": 0.19826,
    "h": 296.4
  },
  "luminance": 0.11733
}

Semantic roles & 50–950 ramp

primary
#7541C8
secondary
#B9D095
accent
#DE49A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7541C8

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

Preview Lab → · Contrast checker → · Palette generator →

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