#6547D8#6547D8

#6547D8 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.8% C 0.210 H 286.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6547D8
RGBrgb(101, 71, 216)
HSLhsl(252, 65%, 56%)
HSVhsv(252, 67%, 85%)
CMYKcmyk(53.2%, 67.1%, 0%, 15.3%)
CIE-LABlab(41.58, 49.26, -70.21)
CIE-LCHlch(41.58, 85.77, 305.06°)
OKLaboklab(51.76% 0.0578 -0.2017)
OKLCHoklch(51.76% 0.21 286)
XYZxyz(20.0110, 12.2300, 66.2586)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6547D8 #BAD847
analogous
#4772D8 #6547D8 #AE47D8
triadic
#6547D8 #D86547 #47D865
tetradic
#6547D8 #D84772 #BAD847 #47D8AE
square
#6547D8 #D84772 #BAD847 #47D8AE
split-complementary
#6547D8 #D8AE47 #72D847
monochromatic
#331D88 #4627BA #6547D8 #8F79E3 #BAACED

Accessibility & contrast

On white

6.09
#6547D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6547D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6547D8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6547D8#FFFFFF#000000##FFFFFF
##6547D81.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#005ED5
Tritanopia (blue-blind)
#356C8A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6547d8;
/* rgb */ color: rgb(101, 71, 216);
/* oklch */ color: oklch(51.8% 0.210 286.0);
Tailwind
colors: {
  custom: {
    50: '#9b7ce5',
    500: '#6547d8',
    950: '#000000',
  },
}
SCSS
$custom: #6547d8;
$custom-light: #9b7ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#6547d8",
  "rgb": {
    "r": 101,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 252.414,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51763,
    "c": 0.20983,
    "h": 286
  },
  "luminance": 0.12231
}

Semantic roles & 50–950 ramp

primary
#6547D8
secondary
#CFDBA0
accent
#E840C5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6547D8

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

Preview Lab → · Contrast checker → · Palette generator →

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