#7541CB#7541CB

#7541CB is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.4% C 0.202 H 295.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7541CB
RGBrgb(117, 65, 203)
HSLhsl(263, 57%, 53%)
HSVhsv(263, 68%, 80%)
CMYKcmyk(42.4%, 68%, 0%, 20.4%)
CIE-LABlab(41.01, 51.66, -63.57)
CIE-LCHlch(41.01, 81.91, 309.10°)
OKLaboklab(51.42% 0.0876 -0.1817)
OKLCHoklch(51.42% 0.202 295.7)
XYZxyz(20.0031, 11.8738, 57.7263)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541CB #97CB41
analogous
#4152CB #7541CB #BA41CB
triadic
#7541CB #CB7541 #41CB75
tetradic
#7541CB #CB4152 #97CB41 #41CBBA
square
#7541CB #CB4152 #97CB41 #41CBBA
split-complementary
#7541CB #CBBA41 #52CB41
monochromatic
#3F1F72 #592CA2 #7541CB #9871D8 #BBA1E5

Accessibility & contrast

On white

6.22
#7541CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7541CB
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541CB#FFFFFF#000000##FFFFFF
##7541CB1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#5E6281
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7541cb;
/* rgb */ color: rgb(117, 65, 203);
/* oklch */ color: oklch(51.4% 0.202 295.7);
Tailwind
colors: {
  custom: {
    50: '#a379dc',
    500: '#7541cb',
    950: '#000000',
  },
}
SCSS
$custom: #7541cb;
$custom-light: #a379dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7541cb",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 262.609,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51418,
    "c": 0.20169,
    "h": 295.7
  },
  "luminance": 0.11874
}

Semantic roles & 50–950 ramp

primary
#7541CB
secondary
#BBD296
accent
#E048A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7541CB

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

Preview Lab → · Contrast checker → · Palette generator →

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