#7541C2#7541C2

#7541C2 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.191 H 297.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7541C2
RGBrgb(117, 65, 194)
HSLhsl(264, 51%, 51%)
HSVhsv(264, 66%, 76%)
CMYKcmyk(39.7%, 66.5%, 0%, 23.9%)
CIE-LABlab(40.34, 49.31, -59.43)
CIE-LCHlch(40.34, 77.23, 309.68°)
OKLaboklab(50.72% 0.0888 -0.1695)
OKLCHoklch(50.72% 0.191 297.7)
XYZxyz(18.9615, 11.4572, 52.2409)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541C2 #8EC241
analogous
#414DC2 #7541C2 #B541C2
triadic
#7541C2 #C27541 #41C275
tetradic
#7541C2 #C2414D #8EC241 #41C2B5
square
#7541C2 #C2414D #8EC241 #41C2B5
split-complementary
#7541C2 #C2B541 #4DC241
monochromatic
#3D2167 #593096 #7541C2 #976FD1 #B89EE0

Accessibility & contrast

On white

6.38
#7541C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7541C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7541C2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541C2#FFFFFF#000000##FFFFFF
##7541C21.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#625F7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7541c2;
/* rgb */ color: rgb(117, 65, 194);
/* oklch */ color: oklch(50.7% 0.191 297.7);
Tailwind
colors: {
  custom: {
    50: '#a379d5',
    500: '#7541c2',
    950: '#000000',
  },
}
SCSS
$custom: #7541c2;
$custom-light: #a379d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7541c2",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 264.186,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50722,
    "c": 0.19138,
    "h": 297.7
  },
  "luminance": 0.11458
}

Semantic roles & 50–950 ramp

primary
#7541C2
secondary
#B5CC93
accent
#DB4DA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7541C2

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

Preview Lab → · Contrast checker → · Palette generator →

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