#6547BA#6547BA

#6547BA is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.4% C 0.173 H 290.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#6547BA
RGBrgb(101, 71, 186)
HSLhsl(256, 45%, 50%)
HSVhsv(256, 62%, 73%)
CMYKcmyk(45.7%, 61.8%, 0%, 27.1%)
CIE-LABlab(39.27, 40.57, -56.56)
CIE-LCHlch(39.27, 69.61, 305.65°)
OKLaboklab(49.37% 0.061 -0.1616)
OKLCHoklch(49.37% 0.173 290.7)
XYZxyz(16.4805, 10.8178, 47.6645)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6547BA #9CBA47
analogous
#4762BA #6547BA #9E47BA
triadic
#6547BA #BA6547 #47BA65
tetradic
#6547BA #BA4762 #9CBA47 #47BA9E
square
#6547BA #BA4762 #9CBA47 #47BA9E
split-complementary
#6547BA #BA9E47 #62BA47
monochromatic
#352562 #4D358E #6547BA #8A74CB #B0A0DB

Accessibility & contrast

On white

6.64
#6547BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6547BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6547BA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6547BA#FFFFFF#000000##FFFFFF
##6547BA1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#4B627A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6547ba;
/* rgb */ color: rgb(101, 71, 186);
/* oklch */ color: oklch(49.4% 0.173 290.7);
Tailwind
colors: {
  custom: {
    50: '#977ccf',
    500: '#6547ba',
    950: '#000000',
  },
}
SCSS
$custom: #6547ba;
$custom-light: #977ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#6547ba",
  "rgb": {
    "r": 101,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 255.652,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49371,
    "c": 0.17276,
    "h": 290.7
  },
  "luminance": 0.10818
}

Semantic roles & 50–950 ramp

primary
#6547BA
secondary
#BBC895
accent
#D553B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6547BA

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

Preview Lab → · Contrast checker → · Palette generator →

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