#6546D2#6546D2

#6546D2 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.1% C 0.204 H 287.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6546D2
RGBrgb(101, 70, 210)
HSLhsl(253, 61%, 55%)
HSVhsv(253, 67%, 82%)
CMYKcmyk(51.9%, 66.7%, 0%, 17.6%)
CIE-LABlab(40.90, 48.07, -67.88)
CIE-LCHlch(40.90, 83.17, 305.31°)
OKLaboklab(51.12% 0.0596 -0.1949)
OKLCHoklch(51.12% 0.204 287)
XYZxyz(19.1864, 11.7992, 62.2268)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6546D2 #B3D246
analogous
#466DD2 #6546D2 #AB46D2
triadic
#6546D2 #D26546 #46D265
tetradic
#6546D2 #D2466D #B3D246 #46D2AB
square
#6546D2 #D2466D #B3D246 #46D2AB
split-complementary
#6546D2 #D2AB46 #6DD246
monochromatic
#341F7F #482BB0 #6546D2 #8E77DE #B7A8EA

Accessibility & contrast

On white

6.25
#6546D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6546D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6546D2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6546D2#FFFFFF#000000##FFFFFF
##6546D21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#3B6986
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6546d2;
/* rgb */ color: rgb(101, 70, 210);
/* oklch */ color: oklch(51.1% 0.204 287.0);
Tailwind
colors: {
  custom: {
    50: '#9a7ce1',
    500: '#6546d2',
    950: '#000000',
  },
}
SCSS
$custom: #6546d2;
$custom-light: #9a7ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#6546d2",
  "rgb": {
    "r": 101,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 253.286,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51121,
    "c": 0.20377,
    "h": 287
  },
  "luminance": 0.118
}

Semantic roles & 50–950 ramp

primary
#6546D2
secondary
#CAD79C
accent
#E444C1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6546D2

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

Preview Lab → · Contrast checker → · Palette generator →

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