#6545D6#6545D6

#6545D6 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.3% C 0.210 H 286.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6545D6
RGBrgb(101, 69, 214)
HSLhsl(253, 64%, 55%)
HSVhsv(253, 68%, 84%)
CMYKcmyk(52.8%, 67.8%, 0%, 16.1%)
CIE-LABlab(41.02, 49.77, -69.97)
CIE-LCHlch(41.02, 85.87, 305.42°)
OKLaboklab(51.31% 0.0599 -0.201)
OKLCHoklch(51.31% 0.21 286.6)
XYZxyz(19.6289, 11.8770, 64.8635)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545D6 #B6D645
analogous
#456ED6 #6545D6 #AD45D6
triadic
#6545D6 #D66545 #45D665
tetradic
#6545D6 #D6456E #B6D645 #45D6AD
square
#6545D6 #D6456E #B6D645 #45D6AD
split-complementary
#6545D6 #D6AD45 #6ED645
monochromatic
#341D84 #4728B6 #6545D6 #8F77E1 #B8A9EC

Accessibility & contrast

On white

6.22
#6545D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6545D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545D6
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545D6#FFFFFF#000000##FFFFFF
##6545D61.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DA
Deuteranopia (green-blind)
#005DD3
Tritanopia (blue-blind)
#376A88
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6545d6;
/* rgb */ color: rgb(101, 69, 214);
/* oklch */ color: oklch(51.3% 0.210 286.6);
Tailwind
colors: {
  custom: {
    50: '#9b7be4',
    500: '#6545d6',
    950: '#000000',
  },
}
SCSS
$custom: #6545d6;
$custom-light: #9b7be4;
$custom-dark: #000000;
JSON
{
  "hex": "#6545d6",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 253.241,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51311,
    "c": 0.20976,
    "h": 286.6
  },
  "luminance": 0.11878
}

Semantic roles & 50–950 ramp

primary
#6545D6
secondary
#CCDA9D
accent
#E741C2
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6545D6

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

Preview Lab → · Contrast checker → · Palette generator →

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