#6547D5#6547D5

#6547D5 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.5% C 0.206 H 286.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#6547D5
RGBrgb(101, 71, 213)
HSLhsl(253, 63%, 56%)
HSVhsv(253, 67%, 84%)
CMYKcmyk(52.6%, 66.7%, 0%, 16.5%)
CIE-LABlab(41.34, 48.39, -68.88)
CIE-LCHlch(41.34, 84.18, 305.09°)
OKLaboklab(51.51% 0.0582 -0.1978)
OKLCHoklch(51.51% 0.206 286.4)
XYZxyz(19.6267, 12.0763, 64.2347)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6547D5 #B7D547
analogous
#4770D5 #6547D5 #AC47D5
triadic
#6547D5 #D56547 #47D565
tetradic
#6547D5 #D54770 #B7D547 #47D5AC
square
#6547D5 #D54770 #B7D547 #47D5AC
split-complementary
#6547D5 #D5AC47 #70D547
monochromatic
#331E84 #4729B5 #6547D5 #8F79E0 #B8ABEC

Accessibility & contrast

On white

6.15
#6547D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6547D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6547D5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6547D5#FFFFFF#000000##FFFFFF
##6547D51.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#005DD2
Tritanopia (blue-blind)
#386B88
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6547d5;
/* rgb */ color: rgb(101, 71, 213);
/* oklch */ color: oklch(51.5% 0.206 286.4);
Tailwind
colors: {
  custom: {
    50: '#9b7ce3',
    500: '#6547d5',
    950: '#000000',
  },
}
SCSS
$custom: #6547d5;
$custom-light: #9b7ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#6547d5",
  "rgb": {
    "r": 101,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 252.676,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51514,
    "c": 0.20621,
    "h": 286.4
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

primary
#6547D5
secondary
#CDD99E
accent
#E642C3
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6547D5

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

Preview Lab → · Contrast checker → · Palette generator →

#6547D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva