#6545D4#6545D4

#6545D4 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.1% C 0.207 H 286.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6545D4
RGBrgb(101, 69, 212)
HSLhsl(253, 62%, 55%)
HSVhsv(253, 67%, 83%)
CMYKcmyk(52.4%, 67.5%, 0%, 16.9%)
CIE-LABlab(40.86, 49.19, -69.09)
CIE-LCHlch(40.86, 84.81, 305.45°)
OKLaboklab(51.14% 0.0602 -0.1984)
OKLCHoklch(51.14% 0.207 286.9)
XYZxyz(19.3751, 11.7754, 63.5266)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545D4 #B4D445
analogous
#456CD4 #6545D4 #AD45D4
triadic
#6545D4 #D46545 #45D465
tetradic
#6545D4 #D4456C #B4D445 #45D4AD
square
#6545D4 #D4456C #B4D445 #45D4AD
split-complementary
#6545D4 #D4AD45 #6CD445
monochromatic
#341E81 #4829B3 #6545D4 #8E77DF #B7A8EB

Accessibility & contrast

On white

6.26
#6545D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6545D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545D4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545D4#FFFFFF#000000##FFFFFF
##6545D41.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D8
Deuteranopia (green-blind)
#005CD1
Tritanopia (blue-blind)
#396987
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6545d4;
/* rgb */ color: rgb(101, 69, 212);
/* oklch */ color: oklch(51.1% 0.207 286.9);
Tailwind
colors: {
  custom: {
    50: '#9b7be2',
    500: '#6545d4',
    950: '#000000',
  },
}
SCSS
$custom: #6545d4;
$custom-light: #9b7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#6545d4",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 253.427,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51144,
    "c": 0.20736,
    "h": 286.9
  },
  "luminance": 0.11776
}

Semantic roles & 50–950 ramp

primary
#6545D4
secondary
#CBD89C
accent
#E642C1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #6545D4

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

Preview Lab → · Contrast checker → · Palette generator →

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