#7541D2#7541D2

#7541D2 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.210 H 294.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7541D2
RGBrgb(117, 65, 210)
HSLhsl(262, 62%, 54%)
HSVhsv(262, 69%, 82%)
CMYKcmyk(44.3%, 69%, 0%, 17.6%)
CIE-LABlab(41.56, 53.49, -66.73)
CIE-LCHlch(41.56, 85.53, 308.72°)
OKLaboklab(51.97% 0.0865 -0.191)
OKLCHoklch(51.97% 0.21 294.4)
XYZxyz(20.8561, 12.2151, 62.2192)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541D2 #9ED241
analogous
#4156D2 #7541D2 #BD41D2
triadic
#7541D2 #D27541 #41D275
tetradic
#7541D2 #D24156 #9ED241 #41D2BD
square
#7541D2 #D24156 #9ED241 #41D2BD
split-complementary
#7541D2 #D2BD41 #56D241
monochromatic
#3F1D7B #5829AD #7541D2 #9972DE #BDA4E9

Accessibility & contrast

On white

6.10
#7541D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7541D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7541D2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541D2#FFFFFF#000000##FFFFFF
##7541D21.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#5B6585
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7541d2;
/* rgb */ color: rgb(117, 65, 210);
/* oklch */ color: oklch(52.0% 0.210 294.4);
Tailwind
colors: {
  custom: {
    50: '#a479e1',
    500: '#7541d2',
    950: '#000000',
  },
}
SCSS
$custom: #7541d2;
$custom-light: #a479e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7541d2",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 261.517,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51973,
    "c": 0.20963,
    "h": 294.4
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#7541D2
secondary
#C0D698
accent
#E543AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7541D2

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

Preview Lab → · Contrast checker → · Palette generator →

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