#7546BB#7546BB

#7546BB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.176 H 298.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7546BB
RGBrgb(117, 70, 187)
HSLhsl(264, 46%, 50%)
HSVhsv(264, 63%, 73%)
CMYKcmyk(37.4%, 62.6%, 0%, 26.7%)
CIE-LABlab(40.82, 44.84, -54.57)
CIE-LCHlch(40.82, 70.63, 309.41°)
OKLaboklab(50.91% 0.0839 -0.1552)
OKLCHoklch(50.91% 0.176 298.4)
XYZxyz(18.4937, 11.7498, 48.2977)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7546BB #8CBB46
analogous
#4651BB #7546BB #B046BB
triadic
#7546BB #BB7546 #46BB75
tetradic
#7546BB #BB4651 #8CBB46 #46BBB0
square
#7546BB #BB4651 #8CBB46 #46BBB0
split-complementary
#7546BB #BBB046 #51BB46
monochromatic
#3D2462 #59358F #7546BB #9673CB #B8A0DC

Accessibility & contrast

On white

6.27
#7546BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7546BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7546BB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7546BB#FFFFFF#000000##FFFFFF
##7546BB1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#0F5FB8
Tritanopia (blue-blind)
#65607A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7546bb;
/* rgb */ color: rgb(117, 70, 187);
/* oklch */ color: oklch(50.9% 0.176 298.4);
Tailwind
colors: {
  custom: {
    50: '#a27cd0',
    500: '#7546bb',
    950: '#000000',
  },
}
SCSS
$custom: #7546bb;
$custom-light: #a27cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7546bb",
  "rgb": {
    "r": 117,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 264.103,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50908,
    "c": 0.17646,
    "h": 298.4
  },
  "luminance": 0.1175
}

Semantic roles & 50–950 ramp

primary
#7546BB
secondary
#B4C894
accent
#D652A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7546BB

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

Preview Lab → · Contrast checker → · Palette generator →

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