#6546CD#6546CD

#6546CD is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.198 H 287.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6546CD
RGBrgb(101, 70, 205)
HSLhsl(254, 57%, 54%)
HSVhsv(254, 66%, 80%)
CMYKcmyk(50.7%, 65.9%, 0%, 19.6%)
CIE-LABlab(40.50, 46.62, -65.64)
CIE-LCHlch(40.50, 80.51, 305.38°)
OKLaboklab(50.71% 0.0602 -0.1883)
OKLCHoklch(50.71% 0.198 287.7)
XYZxyz(18.5732, 11.5539, 58.9973)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6546CD #AECD46
analogous
#466BCD #6546CD #A946CD
triadic
#6546CD #CD6546 #46CD65
tetradic
#6546CD #CD466B #AECD46 #46CDA9
square
#6546CD #CD466B #AECD46 #46CDA9
split-complementary
#6546CD #CDA946 #6BCD46
monochromatic
#352078 #4A2DA8 #6546CD #8D76DA #B5A6E7

Accessibility & contrast

On white

6.34
#6546CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6546CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6546CD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6546CD#FFFFFF#000000##FFFFFF
##6546CD1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#3F6783
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6546cd;
/* rgb */ color: rgb(101, 70, 205);
/* oklch */ color: oklch(50.7% 0.198 287.7);
Tailwind
colors: {
  custom: {
    50: '#9a7bdd',
    500: '#6546cd',
    950: '#000000',
  },
}
SCSS
$custom: #6546cd;
$custom-light: #9a7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6546cd",
  "rgb": {
    "r": 101,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 253.778,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50711,
    "c": 0.1977,
    "h": 287.7
  },
  "luminance": 0.11555
}

Semantic roles & 50–950 ramp

primary
#6546CD
secondary
#C7D49B
accent
#E147BD
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6546CD

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

Preview Lab → · Contrast checker → · Palette generator →

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