#6545BC#6545BC

#6545BC is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.2% C 0.178 H 290.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#6545BC
RGBrgb(101, 69, 188)
HSLhsl(256, 47%, 50%)
HSVhsv(256, 63%, 74%)
CMYKcmyk(46.3%, 63.3%, 0%, 26.3%)
CIE-LABlab(38.99, 42.29, -58.19)
CIE-LCHlch(38.99, 71.94, 306.01°)
OKLaboklab(49.21% 0.0631 -0.1664)
OKLCHoklch(49.21% 0.178 290.8)
XYZxyz(16.5695, 10.6532, 48.7504)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545BC #9CBC45
analogous
#4561BC #6545BC #A045BC
triadic
#6545BC #BC6545 #45BC65
tetradic
#6545BC #BC4561 #9CBC45 #45BCA0
square
#6545BC #BC4561 #9CBC45 #45BCA0
split-complementary
#6545BC #BCA045 #61BC45
monochromatic
#352463 #4D3490 #6545BC #8A72CC #B09FDC

Accessibility & contrast

On white

6.71
#6545BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6545BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545BC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545BC#FFFFFF#000000##FFFFFF
##6545BC1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#4A617A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6545bc;
/* rgb */ color: rgb(101, 69, 188);
/* oklch */ color: oklch(49.2% 0.178 290.8);
Tailwind
colors: {
  custom: {
    50: '#987ad1',
    500: '#6545bc',
    950: '#000000',
  },
}
SCSS
$custom: #6545bc;
$custom-light: #987ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#6545bc",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 256.134,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49213,
    "c": 0.17796,
    "h": 290.8
  },
  "luminance": 0.10654
}

Semantic roles & 50–950 ramp

primary
#6545BC
secondary
#BBC994
accent
#D751B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6545BC

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

Preview Lab → · Contrast checker → · Palette generator →

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