#7541CC#7541CC

#7541CC is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.5% C 0.203 H 295.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7541CC
RGBrgb(117, 65, 204)
HSLhsl(262, 58%, 53%)
HSVhsv(262, 68%, 80%)
CMYKcmyk(42.6%, 68.1%, 0%, 20%)
CIE-LABlab(41.09, 51.92, -64.02)
CIE-LCHlch(41.09, 82.43, 309.04°)
OKLaboklab(51.5% 0.0874 -0.183)
OKLCHoklch(51.5% 0.203 295.5)
XYZxyz(20.1226, 11.9217, 58.3559)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541CC #98CC41
analogous
#4153CC #7541CC #BA41CC
triadic
#7541CC #CC7541 #41CC75
tetradic
#7541CC #CC4153 #98CC41 #41CCBA
square
#7541CC #CC4153 #98CC41 #41CCBA
split-complementary
#7541CC #CCBA41 #53CC41
monochromatic
#3F1F74 #592CA4 #7541CC #9871D9 #BBA1E6

Accessibility & contrast

On white

6.20
#7541CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7541CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7541CC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541CC#FFFFFF#000000##FFFFFF
##7541CC1.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#5E6381
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7541cc;
/* rgb */ color: rgb(117, 65, 204);
/* oklch */ color: oklch(51.5% 0.203 295.5);
Tailwind
colors: {
  custom: {
    50: '#a479dc',
    500: '#7541cc',
    950: '#000000',
  },
}
SCSS
$custom: #7541cc;
$custom-light: #a479dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7541cc",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 262.446,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51496,
    "c": 0.20282,
    "h": 295.5
  },
  "luminance": 0.11922
}

Semantic roles & 50–950 ramp

primary
#7541CC
secondary
#BCD396
accent
#E147A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7541CC

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

Preview Lab → · Contrast checker → · Palette generator →

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