#6549D8#6549D8

#6549D8 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.1% C 0.207 H 285.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6549D8
RGBrgb(101, 73, 216)
HSLhsl(252, 65%, 57%)
HSVhsv(252, 66%, 85%)
CMYKcmyk(53.2%, 66.2%, 0%, 15.3%)
CIE-LABlab(41.98, 48.16, -69.55)
CIE-LCHlch(41.98, 84.60, 304.70°)
OKLaboklab(52.05% 0.056 -0.1998)
OKLCHoklch(52.05% 0.207 285.7)
XYZxyz(20.1403, 12.4886, 66.3017)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6549D8 #BCD849
analogous
#4975D8 #6549D8 #AD49D8
triadic
#6549D8 #D86549 #49D865
tetradic
#6549D8 #D84975 #BCD849 #49D8AD
square
#6549D8 #D84975 #BCD849 #49D8AD
split-complementary
#6549D8 #D8AD49 #75D849
monochromatic
#331D89 #4528BC #6549D8 #907BE3 #BAAEEE

Accessibility & contrast

On white

6.00
#6549D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6549D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6549D8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6549D8#FFFFFF#000000##FFFFFF
##6549D81.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#356D8A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6549d8;
/* rgb */ color: rgb(101, 73, 216);
/* oklch */ color: oklch(52.1% 0.207 285.7);
Tailwind
colors: {
  custom: {
    50: '#9b7ee5',
    500: '#6549d8',
    950: '#000000',
  },
}
SCSS
$custom: #6549d8;
$custom-light: #9b7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#6549d8",
  "rgb": {
    "r": 101,
    "g": 73,
    "b": 216
  },
  "hsl": {
    "h": 251.748,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52053,
    "c": 0.20749,
    "h": 285.7
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#6549D8
secondary
#D0DCA1
accent
#E840C7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6549D8

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

Preview Lab → · Contrast checker → · Palette generator →

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