#6648BA#6648BA

#6648BA is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.6% C 0.171 H 290.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#6648BA
RGBrgb(102, 72, 186)
HSLhsl(256, 45%, 51%)
HSVhsv(256, 61%, 73%)
CMYKcmyk(45.2%, 61.3%, 0%, 27.1%)
CIE-LABlab(39.59, 40.21, -56.05)
CIE-LCHlch(39.59, 68.98, 305.65°)
OKLaboklab(49.63% 0.0613 -0.1601)
OKLCHoklch(49.63% 0.171 290.9)
XYZxyz(16.6573, 11.0041, 47.6912)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6648BA #9CBA48
analogous
#4863BA #6648BA #9F48BA
triadic
#6648BA #BA6648 #48BA66
tetradic
#6648BA #BA4863 #9CBA48 #48BA9F
square
#6648BA #BA4863 #9CBA48 #48BA9F
split-complementary
#6648BA #BA9F48 #63BA48
monochromatic
#352562 #4D368F #6648BA #8B74CB #B0A1DC

Accessibility & contrast

On white

6.56
#6648BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#6648BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6648BA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6648BA#FFFFFF#000000##FFFFFF
##6648BA1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#4D627A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6648ba;
/* rgb */ color: rgb(102, 72, 186);
/* oklch */ color: oklch(49.6% 0.171 290.9);
Tailwind
colors: {
  custom: {
    50: '#987ccf',
    500: '#6648ba',
    950: '#000000',
  },
}
SCSS
$custom: #6648ba;
$custom-light: #987ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#6648ba",
  "rgb": {
    "r": 102,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 255.789,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49625,
    "c": 0.1714,
    "h": 290.9
  },
  "luminance": 0.11005
}

Semantic roles & 50–950 ramp

primary
#6648BA
secondary
#BBC896
accent
#D553B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6648BA

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

Preview Lab → · Contrast checker → · Palette generator →

#6648BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva