#6546CE#6546CE

#6546CE is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.199 H 287.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6546CE
RGBrgb(101, 70, 206)
HSLhsl(254, 58%, 54%)
HSVhsv(254, 66%, 81%)
CMYKcmyk(51%, 66%, 0%, 19.2%)
CIE-LABlab(40.58, 46.91, -66.09)
CIE-LCHlch(40.58, 81.05, 305.37°)
OKLaboklab(50.79% 0.0601 -0.1896)
OKLCHoklch(50.79% 0.199 287.6)
XYZxyz(18.6943, 11.6024, 59.6350)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6546CE #AFCE46
analogous
#466BCE #6546CE #A946CE
triadic
#6546CE #CE6546 #46CE65
tetradic
#6546CE #CE466B #AFCE46 #46CEA9
square
#6546CE #CE466B #AFCE46 #46CEA9
split-complementary
#6546CE #CEA946 #6BCE46
monochromatic
#352079 #492DAA #6546CE #8D76DB #B6A7E8

Accessibility & contrast

On white

6.32
#6546CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6546CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6546CE
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6546CE#FFFFFF#000000##FFFFFF
##6546CE1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#3E6884
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6546ce;
/* rgb */ color: rgb(101, 70, 206);
/* oklch */ color: oklch(50.8% 0.199 287.6);
Tailwind
colors: {
  custom: {
    50: '#9a7bde',
    500: '#6546ce',
    950: '#000000',
  },
}
SCSS
$custom: #6546ce;
$custom-light: #9a7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#6546ce",
  "rgb": {
    "r": 101,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 253.676,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50793,
    "c": 0.19892,
    "h": 287.6
  },
  "luminance": 0.11603
}

Semantic roles & 50–950 ramp

primary
#6546CE
secondary
#C8D59B
accent
#E146BE
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6546CE

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

Preview Lab → · Contrast checker → · Palette generator →

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