#6545C9#6545C9

#6545C9 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.194 H 288.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6545C9
RGBrgb(101, 69, 201)
HSLhsl(255, 55%, 53%)
HSVhsv(255, 66%, 79%)
CMYKcmyk(49.8%, 65.7%, 0%, 21.2%)
CIE-LABlab(39.98, 46.02, -64.17)
CIE-LCHlch(39.98, 78.96, 305.65°)
OKLaboklab(50.24% 0.0617 -0.184)
OKLCHoklch(50.24% 0.194 288.5)
XYZxyz(18.0345, 11.2392, 56.4661)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545C9 #A9C945
analogous
#4567C9 #6545C9 #A745C9
triadic
#6545C9 #C96545 #45C965
tetradic
#6545C9 #C94567 #A9C945 #45C9A7
square
#6545C9 #C94567 #A9C945 #45C9A7
split-complementary
#6545C9 #C9A745 #67C945
monochromatic
#352172 #4B2FA2 #6545C9 #8C74D7 #B4A4E5

Accessibility & contrast

On white

6.47
#6545C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6545C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545C9
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545C9#FFFFFF#000000##FFFFFF
##6545C91.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#426581
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6545c9;
/* rgb */ color: rgb(101, 69, 201);
/* oklch */ color: oklch(50.2% 0.194 288.5);
Tailwind
colors: {
  custom: {
    50: '#997bda',
    500: '#6545c9',
    950: '#000000',
  },
}
SCSS
$custom: #6545c9;
$custom-light: #997bda;
$custom-dark: #000000;
JSON
{
  "hex": "#6545c9",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 254.545,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5024,
    "c": 0.19404,
    "h": 288.5
  },
  "luminance": 0.1124
}

Semantic roles & 50–950 ramp

primary
#6545C9
secondary
#C4D198
accent
#DE49BA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6545C9

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

Preview Lab → · Contrast checker → · Palette generator →

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