#7546CB#7546CB

#7546CB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.195 H 294.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7546CB
RGBrgb(117, 70, 203)
HSLhsl(261, 56%, 54%)
HSVhsv(261, 66%, 80%)
CMYKcmyk(42.4%, 65.5%, 0%, 20.4%)
CIE-LABlab(41.96, 49.07, -62.03)
CIE-LCHlch(41.96, 79.09, 308.34°)
OKLaboklab(52.1% 0.0824 -0.1772)
OKLCHoklch(52.1% 0.195 294.9)
XYZxyz(20.3029, 12.4735, 57.8263)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7546CB #9CCB46
analogous
#4659CB #7546CB #B746CB
triadic
#7546CB #CB7546 #46CB75
tetradic
#7546CB #CB4659 #9CCB46 #46CBB7
square
#7546CB #CB4659 #9CCB46 #46CBB7
split-complementary
#7546CB #CBB746 #59CB46
monochromatic
#3F2176 #582EA5 #7546CB #9976D8 #BCA6E6

Accessibility & contrast

On white

6.01
#7546CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7546CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7546CB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7546CB#FFFFFF#000000##FFFFFF
##7546CB1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#5E6582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7546cb;
/* rgb */ color: rgb(117, 70, 203);
/* oklch */ color: oklch(52.1% 0.195 294.9);
Tailwind
colors: {
  custom: {
    50: '#a37cdc',
    500: '#7546cb',
    950: '#000000',
  },
}
SCSS
$custom: #7546cb;
$custom-light: #a37cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7546cb",
  "rgb": {
    "r": 117,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 261.203,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52096,
    "c": 0.19542,
    "h": 294.9
  },
  "luminance": 0.12474
}

Semantic roles & 50–950 ramp

primary
#7546CB
secondary
#BFD39A
accent
#DF48AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7546CB

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

Preview Lab → · Contrast checker → · Palette generator →

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