#7546BF#7546BF

#7546BF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.181 H 297.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7546BF
RGBrgb(117, 70, 191)
HSLhsl(263, 49%, 51%)
HSVhsv(263, 63%, 75%)
CMYKcmyk(38.7%, 63.4%, 0%, 25.1%)
CIE-LABlab(41.09, 45.89, -56.46)
CIE-LCHlch(41.09, 72.76, 309.10°)
OKLaboklab(51.2% 0.0836 -0.1608)
OKLCHoklch(51.2% 0.181 297.5)
XYZxyz(18.9278, 11.9235, 50.5844)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7546BF #90BF46
analogous
#4653BF #7546BF #B146BF
triadic
#7546BF #BF7546 #46BF75
tetradic
#7546BF #BF4653 #90BF46 #46BFB1
square
#7546BF #BF4653 #90BF46 #46BFB1
split-complementary
#7546BF #BFB146 #53BF46
monochromatic
#3E2467 #593394 #7546BF #9773CF #B9A1DE

Accessibility & contrast

On white

6.20
#7546BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7546BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7546BF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7546BF#FFFFFF#000000##FFFFFF
##7546BF1.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#0060BC
Tritanopia (blue-blind)
#63617C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7546bf;
/* rgb */ color: rgb(117, 70, 191);
/* oklch */ color: oklch(51.2% 0.181 297.5);
Tailwind
colors: {
  custom: {
    50: '#a27cd3',
    500: '#7546bf',
    950: '#000000',
  },
}
SCSS
$custom: #7546bf;
$custom-light: #a27cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7546bf",
  "rgb": {
    "r": 117,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 263.306,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51198,
    "c": 0.18123,
    "h": 297.5
  },
  "luminance": 0.11924
}

Semantic roles & 50–950 ramp

primary
#7546BF
secondary
#B6CB96
accent
#D850A3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7546BF

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

Preview Lab → · Contrast checker → · Palette generator →

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