#6546DC#6546DC

#6546DC is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.0% C 0.216 H 285.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#6546DC
RGBrgb(101, 70, 220)
HSLhsl(252, 68%, 57%)
HSVhsv(252, 68%, 86%)
CMYKcmyk(54.1%, 68.2%, 0%, 13.7%)
CIE-LABlab(41.71, 50.97, -72.28)
CIE-LCHlch(41.71, 88.44, 305.19°)
OKLaboklab(51.96% 0.0581 -0.2078)
OKLCHoklch(51.96% 0.216 285.6)
XYZxyz(20.4714, 12.3132, 68.9943)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6546DC #BDDC46
analogous
#4672DC #6546DC #B046DC
triadic
#6546DC #DC6546 #46DC65
tetradic
#6546DC #DC4672 #BDDC46 #46DCB0
square
#6546DC #DC4672 #BDDC46 #46DCB0
split-complementary
#6546DC #DCB046 #72DC46
monochromatic
#321B8D #4524C0 #6546DC #9079E6 #BBADEF

Accessibility & contrast

On white

6.06
#6546DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6546DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6546DC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6546DC#FFFFFF#000000##FFFFFF
##6546DC1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#316D8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6546dc;
/* rgb */ color: rgb(101, 70, 220);
/* oklch */ color: oklch(52.0% 0.216 285.6);
Tailwind
colors: {
  custom: {
    50: '#9c7ce8',
    500: '#6546dc',
    950: '#000000',
  },
}
SCSS
$custom: #6546dc;
$custom-light: #9c7ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#6546dc",
  "rgb": {
    "r": 101,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 252.4,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51958,
    "c": 0.21577,
    "h": 285.6
  },
  "luminance": 0.12314
}

Semantic roles & 50–950 ramp

primary
#6546DC
secondary
#D1DDA0
accent
#EB3DC7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6546DC

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

Preview Lab → · Contrast checker → · Palette generator →

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