#6548CE#6548CE

#6548CE is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.1% C 0.196 H 287.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6548CE
RGBrgb(101, 72, 206)
HSLhsl(253, 58%, 55%)
HSVhsv(253, 65%, 81%)
CMYKcmyk(51%, 65%, 0%, 19.2%)
CIE-LABlab(40.99, 45.80, -65.42)
CIE-LCHlch(40.99, 79.86, 305.00°)
OKLaboklab(51.09% 0.0582 -0.1877)
OKLCHoklch(51.09% 0.196 287.2)
XYZxyz(18.8215, 11.8568, 59.6774)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6548CE #B1CE48
analogous
#486ECE #6548CE #A848CE
triadic
#6548CE #CE6548 #48CE65
tetradic
#6548CE #CE486E #B1CE48 #48CEA8
square
#6548CE #CE486E #B1CE48 #48CEA8
split-complementary
#6548CE #CEA848 #6ECE48
monochromatic
#34217B #492EAB #6548CE #8E78DB #B6A9E8

Accessibility & contrast

On white

6.23
#6548CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6548CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6548CE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6548CE#FFFFFF#000000##FFFFFF
##6548CE1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#3E6985
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6548ce;
/* rgb */ color: rgb(101, 72, 206);
/* oklch */ color: oklch(51.1% 0.196 287.2);
Tailwind
colors: {
  custom: {
    50: '#9a7dde',
    500: '#6548ce',
    950: '#000000',
  },
}
SCSS
$custom: #6548ce;
$custom-light: #9a7dde;
$custom-dark: #000000;
JSON
{
  "hex": "#6548ce",
  "rgb": {
    "r": 101,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 252.985,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51089,
    "c": 0.19647,
    "h": 287.2
  },
  "luminance": 0.11858
}

Semantic roles & 50–950 ramp

primary
#6548CE
secondary
#C9D59D
accent
#E147C0
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6548CE

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

Preview Lab → · Contrast checker → · Palette generator →

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