#7546BA#7546BA

#7546BA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.8% C 0.175 H 298.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7546BA
RGBrgb(117, 70, 186)
HSLhsl(264, 46%, 50%)
HSVhsv(264, 62%, 73%)
CMYKcmyk(37.1%, 62.4%, 0%, 27.1%)
CIE-LABlab(40.75, 44.58, -54.10)
CIE-LCHlch(40.75, 70.10, 309.49°)
OKLaboklab(50.84% 0.084 -0.1538)
OKLCHoklch(50.84% 0.175 298.6)
XYZxyz(18.3870, 11.7072, 47.7358)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7546BA #8BBA46
analogous
#4651BA #7546BA #AF46BA
triadic
#7546BA #BA7546 #46BA75
tetradic
#7546BA #BA4651 #8BBA46 #46BAAF
square
#7546BA #BA4651 #8BBA46 #46BAAF
split-complementary
#7546BA #BAAF46 #51BA46
monochromatic
#3D2461 #59358E #7546BA #9673CB #B89FDB

Accessibility & contrast

On white

6.28
#7546BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7546BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7546BA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7546BA#FFFFFF#000000##FFFFFF
##7546BA1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#125FB7
Tritanopia (blue-blind)
#655F79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7546ba;
/* rgb */ color: rgb(117, 70, 186);
/* oklch */ color: oklch(50.8% 0.175 298.6);
Tailwind
colors: {
  custom: {
    50: '#a17ccf',
    500: '#7546ba',
    950: '#000000',
  },
}
SCSS
$custom: #7546ba;
$custom-light: #a17ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#7546ba",
  "rgb": {
    "r": 117,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 264.31,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50836,
    "c": 0.17526,
    "h": 298.6
  },
  "luminance": 0.11707
}

Semantic roles & 50–950 ramp

primary
#7546BA
secondary
#B3C894
accent
#D552A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7546BA

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

Preview Lab → · Contrast checker → · Palette generator →

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