#7541CA#7541CA

#7541CA is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.3% C 0.201 H 295.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7541CA
RGBrgb(117, 65, 202)
HSLhsl(263, 56%, 52%)
HSVhsv(263, 68%, 79%)
CMYKcmyk(42.1%, 67.8%, 0%, 20.8%)
CIE-LABlab(40.94, 51.40, -63.11)
CIE-LCHlch(40.94, 81.39, 309.16°)
OKLaboklab(51.34% 0.0877 -0.1803)
OKLCHoklch(51.34% 0.201 295.9)
XYZxyz(19.8843, 11.8263, 57.1007)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541CA #96CA41
analogous
#4151CA #7541CA #BA41CA
triadic
#7541CA #CA7541 #41CA75
tetradic
#7541CA #CA4151 #96CA41 #41CABA
square
#7541CA #CA4151 #96CA41 #41CABA
split-complementary
#7541CA #CABA41 #51CA41
monochromatic
#3E2071 #592DA1 #7541CA #9871D7 #BBA1E5

Accessibility & contrast

On white

6.24
#7541CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7541CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7541CA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541CA#FFFFFF#000000##FFFFFF
##7541CA1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#5F6280
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7541ca;
/* rgb */ color: rgb(117, 65, 202);
/* oklch */ color: oklch(51.3% 0.201 295.9);
Tailwind
colors: {
  custom: {
    50: '#a379db',
    500: '#7541ca',
    950: '#000000',
  },
}
SCSS
$custom: #7541ca;
$custom-light: #a379db;
$custom-dark: #000000;
JSON
{
  "hex": "#7541ca",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 262.774,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51339,
    "c": 0.20055,
    "h": 295.9
  },
  "luminance": 0.11827
}

Semantic roles & 50–950 ramp

primary
#7541CA
secondary
#BBD196
accent
#E048A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7541CA

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

Preview Lab → · Contrast checker → · Palette generator →

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