#6545CD#6545CD

#6545CD is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.199 H 287.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#6545CD
RGBrgb(101, 69, 205)
HSLhsl(254, 58%, 54%)
HSVhsv(254, 66%, 80%)
CMYKcmyk(50.7%, 66.3%, 0%, 19.6%)
CIE-LABlab(40.30, 47.17, -65.97)
CIE-LCHlch(40.30, 81.10, 305.57°)
OKLaboklab(50.57% 0.0612 -0.1893)
OKLCHoklch(50.57% 0.199 287.9)
XYZxyz(18.5112, 11.4299, 58.9766)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545CD #ADCD45
analogous
#4569CD #6545CD #A945CD
triadic
#6545CD #CD6545 #45CD65
tetradic
#6545CD #CD4569 #ADCD45 #45CDA9
square
#6545CD #CD4569 #ADCD45 #45CDA9
split-complementary
#6545CD #CDA945 #69CD45
monochromatic
#352077 #4A2DA8 #6545CD #8D75DA #B5A5E7

Accessibility & contrast

On white

6.39
#6545CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6545CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545CD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545CD#FFFFFF#000000##FFFFFF
##6545CD1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#3F6783
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6545cd;
/* rgb */ color: rgb(101, 69, 205);
/* oklch */ color: oklch(50.6% 0.199 287.9);
Tailwind
colors: {
  custom: {
    50: '#9a7bdd',
    500: '#6545cd',
    950: '#000000',
  },
}
SCSS
$custom: #6545cd;
$custom-light: #9a7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6545cd",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 254.118,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50565,
    "c": 0.19892,
    "h": 287.9
  },
  "luminance": 0.11431
}

Semantic roles & 50–950 ramp

primary
#6545CD
secondary
#C6D49A
accent
#E147BD
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6545CD

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

Preview Lab → · Contrast checker → · Palette generator →

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