#7546C4#7546C4

#7546C4 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.187 H 296.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7546C4
RGBrgb(117, 70, 196)
HSLhsl(262, 52%, 52%)
HSVhsv(262, 64%, 77%)
CMYKcmyk(40.3%, 64.3%, 0%, 23.1%)
CIE-LABlab(41.45, 47.21, -58.80)
CIE-LCHlch(41.45, 75.40, 308.76°)
OKLaboklab(51.57% 0.0832 -0.1677)
OKLCHoklch(51.57% 0.187 296.4)
XYZxyz(19.4875, 12.1474, 53.5318)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7546C4 #95C446
analogous
#4656C4 #7546C4 #B446C4
triadic
#7546C4 #C47546 #46C475
tetradic
#7546C4 #C44656 #95C446 #46C4B4
square
#7546C4 #C44656 #95C446 #46C4B4
split-complementary
#7546C4 #C4B446 #56C446
monochromatic
#3E236D #59329B #7546C4 #9874D3 #BAA3E2

Accessibility & contrast

On white

6.12
#7546C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7546C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7546C4
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7546C4#FFFFFF#000000##FFFFFF
##7546C41.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#61637F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7546c4;
/* rgb */ color: rgb(117, 70, 196);
/* oklch */ color: oklch(51.6% 0.187 296.4);
Tailwind
colors: {
  custom: {
    50: '#a27cd7',
    500: '#7546c4',
    950: '#000000',
  },
}
SCSS
$custom: #7546c4;
$custom-light: #a27cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7546c4",
  "rgb": {
    "r": 117,
    "g": 70,
    "b": 196
  },
  "hsl": {
    "h": 262.381,
    "s": 51.639,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51567,
    "c": 0.18717,
    "h": 296.4
  },
  "luminance": 0.12148
}

Semantic roles & 50–950 ramp

primary
#7546C4
secondary
#BACE97
accent
#DB4DA6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7546C4

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

Preview Lab → · Contrast checker → · Palette generator →

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