#6548E2#6548E2

#6548E2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.7% C 0.221 H 284.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6548E2
RGBrgb(101, 72, 226)
HSLhsl(251, 73%, 58%)
HSVhsv(251, 68%, 89%)
CMYKcmyk(55.3%, 68.1%, 0%, 11.4%)
CIE-LABlab(42.60, 51.63, -74.25)
CIE-LCHlch(42.60, 90.44, 304.81°)
OKLaboklab(52.75% 0.0554 -0.2136)
OKLCHoklch(52.75% 0.221 284.5)
XYZxyz(21.4075, 12.8912, 73.2970)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6548E2 #C5E248
analogous
#4878E2 #6548E2 #B248E2
triadic
#6548E2 #E26548 #48E265
tetradic
#6548E2 #E24878 #C5E248 #48E2B2
square
#6548E2 #E24878 #C5E248 #48E2B2
split-complementary
#6548E2 #E2B248 #78E248
monochromatic
#301898 #4120CC #6548E2 #917DEA #BEB2F3

Accessibility & contrast

On white

5.87
#6548E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6548E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6548E2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6548E2#FFFFFF#000000##FFFFFF
##6548E21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#29708F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6548e2;
/* rgb */ color: rgb(101, 72, 226);
/* oklch */ color: oklch(52.7% 0.221 284.5);
Tailwind
colors: {
  custom: {
    50: '#9d7dec',
    500: '#6548e2',
    950: '#000000',
  },
}
SCSS
$custom: #6548e2;
$custom-light: #9d7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#6548e2",
  "rgb": {
    "r": 101,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 251.299,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52748,
    "c": 0.22065,
    "h": 284.5
  },
  "luminance": 0.12892
}

Semantic roles & 50–950 ramp

primary
#6548E2
secondary
#D6E1A4
accent
#EF38CD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6548E2

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

Preview Lab → · Contrast checker → · Palette generator →

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