#6547D9#6547D9

#6547D9 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.8% C 0.211 H 285.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6547D9
RGBrgb(101, 71, 217)
HSLhsl(252, 66%, 56%)
HSVhsv(252, 67%, 85%)
CMYKcmyk(53.5%, 67.3%, 0%, 14.9%)
CIE-LABlab(41.66, 49.55, -70.65)
CIE-LCHlch(41.66, 86.29, 305.05°)
OKLaboklab(51.85% 0.0577 -0.203)
OKLCHoklch(51.85% 0.211 285.9)
XYZxyz(20.1407, 12.2818, 66.9416)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6547D9 #BBD947
analogous
#4772D9 #6547D9 #AE47D9
triadic
#6547D9 #D96547 #47D965
tetradic
#6547D9 #D94772 #BBD947 #47D9AE
square
#6547D9 #D94772 #BBD947 #47D9AE
split-complementary
#6547D9 #D9AE47 #72D947
monochromatic
#331C89 #4527BC #6547D9 #8F7AE3 #BAACEE

Accessibility & contrast

On white

6.08
#6547D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6547D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6547D9
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6547D9#FFFFFF#000000##FFFFFF
##6547D91.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#346C8A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6547d9;
/* rgb */ color: rgb(101, 71, 217);
/* oklch */ color: oklch(51.8% 0.211 285.9);
Tailwind
colors: {
  custom: {
    50: '#9b7ce6',
    500: '#6547d9',
    950: '#000000',
  },
}
SCSS
$custom: #6547d9;
$custom-light: #9b7ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#6547d9",
  "rgb": {
    "r": 101,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 252.329,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51847,
    "c": 0.21104,
    "h": 285.9
  },
  "luminance": 0.12283
}

Semantic roles & 50–950 ramp

primary
#6547D9
secondary
#D0DCA0
accent
#E93FC6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6547D9

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

Preview Lab → · Contrast checker → · Palette generator →

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