#6545D8#6545D8

#6545D8 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.5% C 0.212 H 286.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6545D8
RGBrgb(101, 69, 216)
HSLhsl(253, 65%, 56%)
HSVhsv(253, 68%, 85%)
CMYKcmyk(53.2%, 68.1%, 0%, 15.3%)
CIE-LABlab(41.18, 50.35, -70.85)
CIE-LCHlch(41.18, 86.92, 305.40°)
OKLaboklab(51.48% 0.0596 -0.2036)
OKLCHoklch(51.48% 0.212 286.3)
XYZxyz(19.8859, 11.9798, 66.2169)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545D8 #B8D845
analogous
#456ED8 #6545D8 #AE45D8
triadic
#6545D8 #D86545 #45D865
tetradic
#6545D8 #D8456E #B8D845 #45D8AE
square
#6545D8 #D8456E #B8D845 #45D8AE
split-complementary
#6545D8 #D8AE45 #6ED845
monochromatic
#331C86 #4727B9 #6545D8 #8F78E3 #B9AAED

Accessibility & contrast

On white

6.18
#6545D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6545D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545D8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545D8#FFFFFF#000000##FFFFFF
##6545D81.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#005DD5
Tritanopia (blue-blind)
#356B89
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6545d8;
/* rgb */ color: rgb(101, 69, 216);
/* oklch */ color: oklch(51.5% 0.212 286.3);
Tailwind
colors: {
  custom: {
    50: '#9b7be5',
    500: '#6545d8',
    950: '#000000',
  },
}
SCSS
$custom: #6545d8;
$custom-light: #9b7be5;
$custom-dark: #000000;
JSON
{
  "hex": "#6545d8",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 253.061,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51479,
    "c": 0.21214,
    "h": 286.3
  },
  "luminance": 0.11981
}

Semantic roles & 50–950 ramp

primary
#6545D8
secondary
#CEDB9E
accent
#E840C4
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6545D8

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

Preview Lab → · Contrast checker → · Palette generator →

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