#6548E6#6548E6

#6548E6 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.1% C 0.225 H 284.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6548E6
RGBrgb(101, 72, 230)
HSLhsl(251, 76%, 59%)
HSVhsv(251, 69%, 90%)
CMYKcmyk(56.1%, 68.7%, 0%, 9.8%)
CIE-LABlab(42.93, 52.80, -75.97)
CIE-LCHlch(42.93, 92.52, 304.80°)
OKLaboklab(53.09% 0.0547 -0.2186)
OKLCHoklch(53.09% 0.225 284.1)
XYZxyz(21.9628, 13.1133, 76.2214)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6548E6 #C9E648
analogous
#487AE6 #6548E6 #B448E6
triadic
#6548E6 #E66548 #48E665
tetradic
#6548E6 #E6487A #C9E648 #48E6B4
square
#6548E6 #E6487A #C9E648 #48E6B4
split-complementary
#6548E6 #E6B448 #7AE648
monochromatic
#2F169E #3F1DD4 #6548E6 #927EED #C0B4F5

Accessibility & contrast

On white

5.80
#6548E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6548E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6548E6
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6548E6#FFFFFF#000000##FFFFFF
##6548E61.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#0060E3
Tritanopia (blue-blind)
#237292
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6548e6;
/* rgb */ color: rgb(101, 72, 230);
/* oklch */ color: oklch(53.1% 0.225 284.1);
Tailwind
colors: {
  custom: {
    50: '#9d7def',
    500: '#6548e6',
    950: '#000000',
  },
}
SCSS
$custom: #6548e6;
$custom-light: #9d7def;
$custom-dark: #000000;
JSON
{
  "hex": "#6548e6",
  "rgb": {
    "r": 101,
    "g": 72,
    "b": 230
  },
  "hsl": {
    "h": 251.013,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53091,
    "c": 0.22538,
    "h": 284.1
  },
  "luminance": 0.13115
}

Semantic roles & 50–950 ramp

primary
#6548E6
secondary
#D8E4A6
accent
#F335D0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6548E6

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

Preview Lab → · Contrast checker → · Palette generator →

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