#6545C2#6545C2

#6545C2 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.7% C 0.185 H 289.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#6545C2
RGBrgb(101, 69, 194)
HSLhsl(255, 51%, 52%)
HSVhsv(255, 64%, 76%)
CMYKcmyk(47.9%, 64.4%, 0%, 23.9%)
CIE-LABlab(39.44, 44.01, -60.97)
CIE-LCHlch(39.44, 75.19, 305.82°)
OKLaboklab(49.68% 0.0625 -0.1746)
OKLCHoklch(49.68% 0.185 289.7)
XYZxyz(17.2298, 10.9173, 52.2279)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545C2 #A2C245
analogous
#4564C2 #6545C2 #A445C2
triadic
#6545C2 #C26545 #45C265
tetradic
#6545C2 #C24564 #A2C245 #45C2A4
square
#6545C2 #C24564 #A2C245 #45C2A4
split-complementary
#6545C2 #C2A445 #64C245
monochromatic
#35236A #4C3298 #6545C2 #8B73D1 #B1A1E0

Accessibility & contrast

On white

6.60
#6545C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6545C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545C2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545C2#FFFFFF#000000##FFFFFF
##6545C21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#47637D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6545c2;
/* rgb */ color: rgb(101, 69, 194);
/* oklch */ color: oklch(49.7% 0.185 289.7);
Tailwind
colors: {
  custom: {
    50: '#987ad5',
    500: '#6545c2',
    950: '#000000',
  },
}
SCSS
$custom: #6545c2;
$custom-light: #987ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#6545c2",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 255.36,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49681,
    "c": 0.18543,
    "h": 289.7
  },
  "luminance": 0.10918
}

Semantic roles & 50–950 ramp

primary
#6545C2
secondary
#BFCD96
accent
#DA4EB6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6545C2

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

Preview Lab → · Contrast checker → · Palette generator →

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