#6548E8#6548E8

#6548E8 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.228 H 283.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6548E8
RGBrgb(101, 72, 232)
HSLhsl(251, 78%, 60%)
HSVhsv(251, 69%, 91%)
CMYKcmyk(56.5%, 69%, 0%, 9%)
CIE-LABlab(43.10, 53.38, -76.83)
CIE-LCHlch(43.10, 93.55, 304.79°)
OKLaboklab(53.26% 0.0544 -0.2211)
OKLCHoklch(53.26% 0.228 283.8)
XYZxyz(22.2452, 13.2262, 77.7090)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6548E8 #CBE848
analogous
#487BE8 #6548E8 #B548E8
triadic
#6548E8 #E86548 #48E865
tetradic
#6548E8 #E8487B #CBE848 #48E8B5
square
#6548E8 #E8487B #CBE848 #48E8B5
split-complementary
#6548E8 #E8B548 #7BE848
monochromatic
#2E14A1 #3D1BD8 #6548E8 #937EEF #C1B5F6

Accessibility & contrast

On white

5.76
#6548E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6548E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6548E8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6548E8#FFFFFF#000000##FFFFFF
##6548E81.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BED
Deuteranopia (green-blind)
#0061E5
Tritanopia (blue-blind)
#207293
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6548e8;
/* rgb */ color: rgb(101, 72, 232);
/* oklch */ color: oklch(53.3% 0.228 283.8);
Tailwind
colors: {
  custom: {
    50: '#9d7df1',
    500: '#6548e8',
    950: '#000000',
  },
}
SCSS
$custom: #6548e8;
$custom-light: #9d7df1;
$custom-dark: #000000;
JSON
{
  "hex": "#6548e8",
  "rgb": {
    "r": 101,
    "g": 72,
    "b": 232
  },
  "hsl": {
    "h": 250.875,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53263,
    "c": 0.22774,
    "h": 283.8
  },
  "luminance": 0.13228
}

Semantic roles & 50–950 ramp

primary
#6548E8
secondary
#DAE5A7
accent
#F434D1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6548E8

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

Preview Lab → · Contrast checker → · Palette generator →

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