#6548EF#6548EF

#6548EF is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.236 H 283.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#6548EF
RGBrgb(101, 72, 239)
HSLhsl(250, 84%, 61%)
HSVhsv(250, 70%, 94%)
CMYKcmyk(57.7%, 69.9%, 0%, 6.3%)
CIE-LABlab(43.70, 55.42, -79.80)
CIE-LCHlch(43.70, 97.16, 304.78°)
OKLaboklab(53.87% 0.0532 -0.2299)
OKLCHoklch(53.87% 0.236 283)
XYZxyz(23.2594, 13.6319, 83.0502)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6548EF #D2EF48
analogous
#487EEF #6548EF #B848EF
triadic
#6548EF #EF6548 #48EF65
tetradic
#6548EF #EF487E #D2EF48 #48EFB8
square
#6548EF #EF487E #D2EF48 #48EFB8
split-complementary
#6548EF #EFB848 #7EEF48
monochromatic
#2B0FAD #3814E6 #6548EF #9480F4 #C4B9F9

Accessibility & contrast

On white

5.64
#6548EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#6548EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6548EF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6548EF#FFFFFF#000000##FFFFFF
##6548EF1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF4
Deuteranopia (green-blind)
#0062EC
Tritanopia (blue-blind)
#0D7597
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6548ef;
/* rgb */ color: rgb(101, 72, 239);
/* oklch */ color: oklch(53.9% 0.236 283.0);
Tailwind
colors: {
  custom: {
    50: '#9f7ef6',
    500: '#6548ef',
    950: '#000000',
  },
}
SCSS
$custom: #6548ef;
$custom-light: #9f7ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#6548ef",
  "rgb": {
    "r": 101,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 250.419,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53874,
    "c": 0.23593,
    "h": 283
  },
  "luminance": 0.13633
}

Semantic roles & 50–950 ramp

primary
#6548EF
secondary
#DEE9AA
accent
#E005BA
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6548EF

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

Preview Lab → · Contrast checker → · Palette generator →

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