#7541B2#7541B2

#7541B2 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.5% C 0.173 H 301.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7541B2
RGBrgb(117, 65, 178)
HSLhsl(268, 47%, 48%)
HSVhsv(268, 63%, 70%)
CMYKcmyk(34.3%, 63.5%, 0%, 30.2%)
CIE-LABlab(39.20, 45.20, -51.88)
CIE-LCHlch(39.20, 68.81, 311.07°)
OKLaboklab(49.54% 0.0904 -0.1473)
OKLCHoklch(49.54% 0.173 301.5)
XYZxyz(17.2604, 10.7768, 43.2816)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541B2 #7EB241
analogous
#4145B2 #7541B2 #AE41B2
triadic
#7541B2 #B27541 #41B275
tetradic
#7541B2 #B24145 #7EB241 #41B2AE
square
#7541B2 #B24145 #7EB241 #41B2AE
split-complementary
#7541B2 #B2AE41 #45B241
monochromatic
#3A2058 #583185 #7541B2 #9468C8 #B495D8

Accessibility & contrast

On white

6.66
#7541B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7541B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7541B2
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541B2#FFFFFF#000000##FFFFFF
##7541B21.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#185CB0
Tritanopia (blue-blind)
#685973
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7541b2;
/* rgb */ color: rgb(117, 65, 178);
/* oklch */ color: oklch(49.5% 0.173 301.5);
Tailwind
colors: {
  custom: {
    50: '#a178ca',
    500: '#7541b2',
    950: '#000000',
  },
}
SCSS
$custom: #7541b2;
$custom-light: #a178ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7541b2",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 267.611,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49541,
    "c": 0.17282,
    "h": 301.5
  },
  "luminance": 0.10777
}

Semantic roles & 50–950 ramp

primary
#7541B2
secondary
#AAC48B
accent
#D65299
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7541B2

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

Preview Lab → · Contrast checker → · Palette generator →

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