#6546CC#6546CC

#6546CC is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.6% C 0.196 H 287.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#6546CC
RGBrgb(101, 70, 204)
HSLhsl(254, 57%, 54%)
HSVhsv(254, 66%, 80%)
CMYKcmyk(50.5%, 65.7%, 0%, 20%)
CIE-LABlab(40.42, 46.33, -65.19)
CIE-LCHlch(40.42, 79.98, 305.40°)
OKLaboklab(50.63% 0.0604 -0.187)
OKLCHoklch(50.63% 0.196 287.9)
XYZxyz(18.4529, 11.5058, 58.3636)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6546CC #ADCC46
analogous
#466ACC #6546CC #A846CC
triadic
#6546CC #CC6546 #46CC65
tetradic
#6546CC #CC466A #ADCC46 #46CCA8
square
#6546CC #CC466A #ADCC46 #46CCA8
split-complementary
#6546CC #CCA846 #6ACC46
monochromatic
#352177 #4A2EA7 #6546CC #8D76D9 #B5A6E6

Accessibility & contrast

On white

6.36
#6546CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6546CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6546CC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6546CC#FFFFFF#000000##FFFFFF
##6546CC1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#406783
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6546cc;
/* rgb */ color: rgb(101, 70, 204);
/* oklch */ color: oklch(50.6% 0.196 287.9);
Tailwind
colors: {
  custom: {
    50: '#9a7bdd',
    500: '#6546cc',
    950: '#000000',
  },
}
SCSS
$custom: #6546cc;
$custom-light: #9a7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6546cc",
  "rgb": {
    "r": 101,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 253.881,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5063,
    "c": 0.19648,
    "h": 287.9
  },
  "luminance": 0.11507
}

Semantic roles & 50–950 ramp

primary
#6546CC
secondary
#C6D49A
accent
#E048BD
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6546CC

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

Preview Lab → · Contrast checker → · Palette generator →

#6546CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva