#6548D8#6548D8

#6548D8 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 51.9% C 0.209 H 285.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6548D8
RGBrgb(101, 72, 216)
HSLhsl(252, 65%, 56%)
HSVhsv(252, 67%, 85%)
CMYKcmyk(53.2%, 66.7%, 0%, 15.3%)
CIE-LABlab(41.78, 48.72, -69.88)
CIE-LCHlch(41.78, 85.19, 304.88°)
OKLaboklab(51.91% 0.0569 -0.2008)
OKLCHoklch(51.91% 0.209 285.8)
XYZxyz(20.0752, 12.3582, 66.2800)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6548D8 #BBD848
analogous
#4873D8 #6548D8 #AD48D8
triadic
#6548D8 #D86548 #48D865
tetradic
#6548D8 #D84873 #BBD848 #48D8AD
square
#6548D8 #D84873 #BBD848 #48D8AD
split-complementary
#6548D8 #D8AD48 #73D848
monochromatic
#331D89 #4528BB #6548D8 #8F7AE3 #BAADEE

Accessibility & contrast

On white

6.05
#6548D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6548D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6548D8
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6548D8#FFFFFF#000000##FFFFFF
##6548D81.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6548d8;
/* rgb */ color: rgb(101, 72, 216);
/* oklch */ color: oklch(51.9% 0.209 285.8);
Tailwind
colors: {
  custom: {
    50: '#9b7de5',
    500: '#6548d8',
    950: '#000000',
  },
}
SCSS
$custom: #6548d8;
$custom-light: #9b7de5;
$custom-dark: #000000;
JSON
{
  "hex": "#6548d8",
  "rgb": {
    "r": 101,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 252.083,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51907,
    "c": 0.20867,
    "h": 285.8
  },
  "luminance": 0.12359
}

Semantic roles & 50–950 ramp

primary
#6548D8
secondary
#D0DBA0
accent
#E840C6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6548D8

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

Preview Lab → · Contrast checker → · Palette generator →

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