#6545D3#6545D3

#6545D3 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.1% C 0.206 H 287.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6545D3
RGBrgb(101, 69, 211)
HSLhsl(254, 62%, 55%)
HSVhsv(254, 67%, 83%)
CMYKcmyk(52.1%, 67.3%, 0%, 17.3%)
CIE-LABlab(40.78, 48.90, -68.65)
CIE-LCHlch(40.78, 84.29, 305.47°)
OKLaboklab(51.06% 0.0603 -0.1971)
OKLCHoklch(51.06% 0.206 287)
XYZxyz(19.2493, 11.7251, 62.8643)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545D3 #B3D345
analogous
#456CD3 #6545D3 #AC45D3
triadic
#6545D3 #D36545 #45D365
tetradic
#6545D3 #D3456C #B3D345 #45D3AC
square
#6545D3 #D3456C #B3D345 #45D3AC
split-complementary
#6545D3 #D3AC45 #6CD345
monochromatic
#341E7F #482AB1 #6545D3 #8E76DF #B7A8EA

Accessibility & contrast

On white

6.28
#6545D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6545D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545D3
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545D3#FFFFFF#000000##FFFFFF
##6545D31.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#3A6986
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6545d3;
/* rgb */ color: rgb(101, 69, 211);
/* oklch */ color: oklch(51.1% 0.206 287.0);
Tailwind
colors: {
  custom: {
    50: '#9b7be2',
    500: '#6545d3',
    950: '#000000',
  },
}
SCSS
$custom: #6545d3;
$custom-light: #9b7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#6545d3",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 253.521,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5106,
    "c": 0.20616,
    "h": 287
  },
  "luminance": 0.11726
}

Semantic roles & 50–950 ramp

primary
#6545D3
secondary
#CAD89C
accent
#E543C0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #6545D3

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

Preview Lab → · Contrast checker → · Palette generator →

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