#7547BC#7547BC

#7547BC is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.1% C 0.176 H 298.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7547BC
RGBrgb(117, 71, 188)
HSLhsl(264, 47%, 51%)
HSVhsv(264, 62%, 74%)
CMYKcmyk(37.8%, 62.2%, 0%, 26.3%)
CIE-LABlab(41.09, 44.56, -54.72)
CIE-LCHlch(41.09, 70.56, 309.16°)
OKLaboklab(51.13% 0.0827 -0.1557)
OKLCHoklch(51.13% 0.176 298)
XYZxyz(18.6642, 11.9190, 48.8845)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7547BC #8EBC47
analogous
#4753BC #7547BC #B047BC
triadic
#7547BC #BC7547 #47BC75
tetradic
#7547BC #BC4753 #8EBC47 #47BCB0
square
#7547BC #BC4753 #8EBC47 #47BCB0
split-complementary
#7547BC #BCB047 #53BC47
monochromatic
#3D2464 #593591 #7547BC #9774CC #B8A1DD

Accessibility & contrast

On white

6.21
#7547BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7547BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7547BC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7547BC#FFFFFF#000000##FFFFFF
##7547BC1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0F60B9
Tritanopia (blue-blind)
#64617B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7547bc;
/* rgb */ color: rgb(117, 71, 188);
/* oklch */ color: oklch(51.1% 0.176 298.0);
Tailwind
colors: {
  custom: {
    50: '#a27cd1',
    500: '#7547bc',
    950: '#000000',
  },
}
SCSS
$custom: #7547bc;
$custom-light: #a27cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7547bc",
  "rgb": {
    "r": 117,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 263.59,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51127,
    "c": 0.17626,
    "h": 298
  },
  "luminance": 0.11919
}

Semantic roles & 50–950 ramp

primary
#7547BC
secondary
#B5C995
accent
#D652A2
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7547BC

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

Preview Lab → · Contrast checker → · Palette generator →

#7547BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva