#6543D4#6543D4

#6543D4 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.9% C 0.210 H 287.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6543D4
RGBrgb(101, 67, 212)
HSLhsl(254, 63%, 55%)
HSVhsv(254, 68%, 83%)
CMYKcmyk(52.4%, 68.4%, 0%, 16.9%)
CIE-LABlab(40.46, 50.27, -69.73)
CIE-LCHlch(40.46, 85.96, 305.79°)
OKLaboklab(50.86% 0.062 -0.2003)
OKLCHoklch(50.86% 0.21 287.2)
XYZxyz(19.2541, 11.5335, 63.4862)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6543D4 #B2D443
analogous
#436AD4 #6543D4 #AE43D4
triadic
#6543D4 #D46543 #43D465
tetradic
#6543D4 #D4436A #B2D443 #43D4AE
square
#6543D4 #D4436A #B2D443 #43D4AE
split-complementary
#6543D4 #D4AE43 #6AD443
monochromatic
#341D7F #4929B1 #6543D4 #8E75DF #B7A7EB

Accessibility & contrast

On white

6.35
#6543D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6543D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6543D4
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6543D4#FFFFFF#000000##FFFFFF
##6543D41.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#396886
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6543d4;
/* rgb */ color: rgb(101, 67, 212);
/* oklch */ color: oklch(50.9% 0.210 287.2);
Tailwind
colors: {
  custom: {
    50: '#9b7ae2',
    500: '#6543d4',
    950: '#000000',
  },
}
SCSS
$custom: #6543d4;
$custom-light: #9b7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#6543d4",
  "rgb": {
    "r": 101,
    "g": 67,
    "b": 212
  },
  "hsl": {
    "h": 254.069,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50862,
    "c": 0.20968,
    "h": 287.2
  },
  "luminance": 0.11534
}

Semantic roles & 50–950 ramp

primary
#6543D4
secondary
#CAD89B
accent
#E642BF
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6543D4

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

Preview Lab → · Contrast checker → · Palette generator →

#6543D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva