#6548D6#6548D6

#6548D6 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.7% C 0.206 H 286.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6548D6
RGBrgb(101, 72, 214)
HSLhsl(252, 63%, 56%)
HSVhsv(252, 66%, 84%)
CMYKcmyk(52.8%, 66.4%, 0%, 16.1%)
CIE-LABlab(41.62, 48.13, -69.00)
CIE-LCHlch(41.62, 84.13, 304.90°)
OKLaboklab(51.74% 0.0572 -0.1982)
OKLCHoklch(51.74% 0.206 286.1)
XYZxyz(19.8182, 12.2554, 64.9266)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6548D6 #B9D648
analogous
#4872D6 #6548D6 #AC48D6
triadic
#6548D6 #D66548 #48D665
tetradic
#6548D6 #D64872 #B9D648 #48D6AC
square
#6548D6 #D64872 #B9D648 #48D6AC
split-complementary
#6548D6 #D6AC48 #72D648
monochromatic
#331E86 #4629B8 #6548D6 #8F7AE1 #B9ACEC

Accessibility & contrast

On white

6.08
#6548D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6548D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6548D6
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6548D6#FFFFFF#000000##FFFFFF
##6548D61.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DA
Deuteranopia (green-blind)
#005ED3
Tritanopia (blue-blind)
#376C89
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6548d6;
/* rgb */ color: rgb(101, 72, 214);
/* oklch */ color: oklch(51.7% 0.206 286.1);
Tailwind
colors: {
  custom: {
    50: '#9b7de4',
    500: '#6548d6',
    950: '#000000',
  },
}
SCSS
$custom: #6548d6;
$custom-light: #9b7de4;
$custom-dark: #000000;
JSON
{
  "hex": "#6548d6",
  "rgb": {
    "r": 101,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 252.254,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51742,
    "c": 0.20624,
    "h": 286.1
  },
  "luminance": 0.12256
}

Semantic roles & 50–950 ramp

primary
#6548D6
secondary
#CEDAA0
accent
#E641C5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6548D6

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

Preview Lab → · Contrast checker → · Palette generator →

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