#6548D2#6548D2

#6548D2 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.4% C 0.201 H 286.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6548D2
RGBrgb(101, 72, 210)
HSLhsl(253, 61%, 55%)
HSVhsv(253, 66%, 82%)
CMYKcmyk(51.9%, 65.7%, 0%, 17.6%)
CIE-LABlab(41.30, 46.97, -67.21)
CIE-LCHlch(41.30, 82.00, 304.94°)
OKLaboklab(51.41% 0.0577 -0.1929)
OKLCHoklch(51.41% 0.201 286.7)
XYZxyz(19.3136, 12.0536, 62.2692)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6548D2 #B5D248
analogous
#4870D2 #6548D2 #AA48D2
triadic
#6548D2 #D26548 #48D265
tetradic
#6548D2 #D24870 #B5D248 #48D2AA
square
#6548D2 #D24870 #B5D248 #48D2AA
split-complementary
#6548D2 #D2AA48 #70D248
monochromatic
#342080 #482CB1 #6548D2 #8E79DE #B8AAEA

Accessibility & contrast

On white

6.16
#6548D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6548D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6548D2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6548D2#FFFFFF#000000##FFFFFF
##6548D21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#005DCF
Tritanopia (blue-blind)
#3B6A87
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6548d2;
/* rgb */ color: rgb(101, 72, 210);
/* oklch */ color: oklch(51.4% 0.201 286.7);
Tailwind
colors: {
  custom: {
    50: '#9a7de1',
    500: '#6548d2',
    950: '#000000',
  },
}
SCSS
$custom: #6548d2;
$custom-light: #9a7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#6548d2",
  "rgb": {
    "r": 101,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 252.609,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51413,
    "c": 0.20137,
    "h": 286.7
  },
  "luminance": 0.12055
}

Semantic roles & 50–950 ramp

primary
#6548D2
secondary
#CCD89E
accent
#E444C2
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6548D2

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

Preview Lab → · Contrast checker → · Palette generator →

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