#7546D1#7546D1

#7546D1 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.6% C 0.202 H 293.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7546D1
RGBrgb(117, 70, 209)
HSLhsl(260, 60%, 55%)
HSVhsv(260, 67%, 82%)
CMYKcmyk(44%, 66.5%, 0%, 18%)
CIE-LABlab(42.41, 50.67, -64.77)
CIE-LCHlch(42.41, 82.23, 308.04°)
OKLaboklab(52.56% 0.0817 -0.1852)
OKLCHoklch(52.56% 0.202 293.8)
XYZxyz(21.0318, 12.7651, 61.6650)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7546D1 #A2D146
analogous
#465DD1 #7546D1 #BB46D1
triadic
#7546D1 #D17546 #46D175
tetradic
#7546D1 #D1465D #A2D146 #46D1BB
square
#7546D1 #D1465D #A2D146 #46D1BB
split-complementary
#7546D1 #D1BB46 #5DD146
monochromatic
#3F1F7D #582BAE #7546D1 #9A77DD #BEA8E9

Accessibility & contrast

On white

5.91
#7546D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7546D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7546D1
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7546D1#FFFFFF#000000##FFFFFF
##7546D11.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#0062CE
Tritanopia (blue-blind)
#5B6886
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7546d1;
/* rgb */ color: rgb(117, 70, 209);
/* oklch */ color: oklch(52.6% 0.202 293.8);
Tailwind
colors: {
  custom: {
    50: '#a47ce0',
    500: '#7546d1',
    950: '#000000',
  },
}
SCSS
$custom: #7546d1;
$custom-light: #a47ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#7546d1",
  "rgb": {
    "r": 117,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 260.288,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52559,
    "c": 0.20243,
    "h": 293.8
  },
  "luminance": 0.12766
}

Semantic roles & 50–950 ramp

primary
#7546D1
secondary
#C3D79C
accent
#E344AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7546D1

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

Preview Lab → · Contrast checker → · Palette generator →

#7546D1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva