#6548CF#6548CF

#6548CF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.198 H 287.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6548CF
RGBrgb(101, 72, 207)
HSLhsl(253, 58%, 55%)
HSVhsv(253, 65%, 81%)
CMYKcmyk(51.2%, 65.2%, 0%, 18.8%)
CIE-LABlab(41.07, 46.09, -65.87)
CIE-LCHlch(41.07, 80.39, 304.98°)
OKLaboklab(51.17% 0.0581 -0.189)
OKLCHoklch(51.17% 0.198 287.1)
XYZxyz(18.9434, 11.9055, 60.3192)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6548CF #B2CF48
analogous
#486ECF #6548CF #A948CF
triadic
#6548CF #CF6548 #48CF65
tetradic
#6548CF #CF486E #B2CF48 #48CFA9
square
#6548CF #CF486E #B2CF48 #48CFA9
split-complementary
#6548CF #CFA948 #6ECF48
monochromatic
#34217C #492DAD #6548CF #8E78DC #B7A9E8

Accessibility & contrast

On white

6.21
#6548CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6548CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6548CF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6548CF#FFFFFF#000000##FFFFFF
##6548CF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#3D6985
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6548cf;
/* rgb */ color: rgb(101, 72, 207);
/* oklch */ color: oklch(51.2% 0.198 287.1);
Tailwind
colors: {
  custom: {
    50: '#9a7ddf',
    500: '#6548cf',
    950: '#000000',
  },
}
SCSS
$custom: #6548cf;
$custom-light: #9a7ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#6548cf",
  "rgb": {
    "r": 101,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 252.889,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5117,
    "c": 0.1977,
    "h": 287.1
  },
  "luminance": 0.11906
}

Semantic roles & 50–950 ramp

primary
#6548CF
secondary
#CAD69D
accent
#E246C0
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6548CF

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

Preview Lab → · Contrast checker → · Palette generator →

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