#6546D9#6546D9

#6546D9 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.7% C 0.212 H 286.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6546D9
RGBrgb(101, 70, 217)
HSLhsl(253, 66%, 56%)
HSVhsv(253, 68%, 85%)
CMYKcmyk(53.5%, 67.7%, 0%, 14.9%)
CIE-LABlab(41.46, 50.10, -70.97)
CIE-LCHlch(41.46, 86.87, 305.22°)
OKLaboklab(51.7% 0.0585 -0.204)
OKLCHoklch(51.7% 0.212 286)
XYZxyz(20.0776, 12.1557, 66.9205)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6546D9 #BAD946
analogous
#4671D9 #6546D9 #AF46D9
triadic
#6546D9 #D96546 #46D965
tetradic
#6546D9 #D94671 #BAD946 #46D9AF
square
#6546D9 #D94671 #BAD946 #46D9AF
split-complementary
#6546D9 #D9AF46 #71D946
monochromatic
#331C89 #4626BB #6546D9 #8F79E3 #BAACEE

Accessibility & contrast

On white

6.12
#6546D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6546D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6546D9
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6546D9#FFFFFF#000000##FFFFFF
##6546D91.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#005DD6
Tritanopia (blue-blind)
#346C8A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6546d9;
/* rgb */ color: rgb(101, 70, 217);
/* oklch */ color: oklch(51.7% 0.212 286.0);
Tailwind
colors: {
  custom: {
    50: '#9b7ce6',
    500: '#6546d9',
    950: '#000000',
  },
}
SCSS
$custom: #6546d9;
$custom-light: #9b7ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#6546d9",
  "rgb": {
    "r": 101,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 252.653,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51704,
    "c": 0.21219,
    "h": 286
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#6546D9
secondary
#CFDC9F
accent
#E93FC5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6546D9

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

Preview Lab → · Contrast checker → · Palette generator →

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