#7541CD#7541CD

#7541CD is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.6% C 0.204 H 295.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7541CD
RGBrgb(117, 65, 205)
HSLhsl(262, 58%, 53%)
HSVhsv(262, 68%, 80%)
CMYKcmyk(42.9%, 68.3%, 0%, 19.6%)
CIE-LABlab(41.17, 52.18, -64.48)
CIE-LCHlch(41.17, 82.95, 308.98°)
OKLaboklab(51.58% 0.0873 -0.1844)
OKLCHoklch(51.58% 0.204 295.3)
XYZxyz(20.2429, 11.9698, 58.9896)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541CD #99CD41
analogous
#4153CD #7541CD #BB41CD
triadic
#7541CD #CD7541 #41CD75
tetradic
#7541CD #CD4153 #99CD41 #41CDBB
square
#7541CD #CD4153 #99CD41 #41CDBB
split-complementary
#7541CD #CDBB41 #53CD41
monochromatic
#3F1F75 #592CA5 #7541CD #9871DA #BBA2E6

Accessibility & contrast

On white

6.19
#7541CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7541CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7541CD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541CD#FFFFFF#000000##FFFFFF
##7541CD1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#5D6382
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7541cd;
/* rgb */ color: rgb(117, 65, 205);
/* oklch */ color: oklch(51.6% 0.204 295.3);
Tailwind
colors: {
  custom: {
    50: '#a479dd',
    500: '#7541cd',
    950: '#000000',
  },
}
SCSS
$custom: #7541cd;
$custom-light: #a479dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7541cd",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 262.286,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51575,
    "c": 0.20396,
    "h": 295.3
  },
  "luminance": 0.1197
}

Semantic roles & 50–950 ramp

primary
#7541CD
secondary
#BDD397
accent
#E246A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7541CD

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

Preview Lab → · Contrast checker → · Palette generator →

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