#6548C8#6548C8

#6548C8 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.6% C 0.189 H 288.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6548C8
RGBrgb(101, 72, 200)
HSLhsl(254, 54%, 53%)
HSVhsv(254, 64%, 78%)
CMYKcmyk(49.5%, 64%, 0%, 21.6%)
CIE-LABlab(40.53, 44.05, -62.70)
CIE-LCHlch(40.53, 76.63, 305.09°)
OKLaboklab(50.61% 0.0588 -0.1797)
OKLCHoklch(50.61% 0.189 288.1)
XYZxyz(18.1065, 11.5708, 55.9117)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6548C8 #ABC848
analogous
#486BC8 #6548C8 #A548C8
triadic
#6548C8 #C86548 #48C865
tetradic
#6548C8 #C8486B #ABC848 #48C8A5
square
#6548C8 #C8486B #ABC848 #48C8A5
split-complementary
#6548C8 #C8A548 #6BC848
monochromatic
#352373 #4A31A2 #6548C8 #8D77D6 #B4A6E4

Accessibility & contrast

On white

6.34
#6548C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6548C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6548C8
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6548C8#FFFFFF#000000##FFFFFF
##6548C81.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#426781
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6548c8;
/* rgb */ color: rgb(101, 72, 200);
/* oklch */ color: oklch(50.6% 0.189 288.1);
Tailwind
colors: {
  custom: {
    50: '#997dda',
    500: '#6548c8',
    950: '#000000',
  },
}
SCSS
$custom: #6548c8;
$custom-light: #997dda;
$custom-dark: #000000;
JSON
{
  "hex": "#6548c8",
  "rgb": {
    "r": 101,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 253.594,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5061,
    "c": 0.18905,
    "h": 288.1
  },
  "luminance": 0.11572
}

Semantic roles & 50–950 ramp

primary
#6548C8
secondary
#C5D19A
accent
#DD4BBC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6548C8

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

Preview Lab → · Contrast checker → · Palette generator →

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