#6648BB#6648BB

#6648BB is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.7% C 0.173 H 290.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#6648BB
RGBrgb(102, 72, 187)
HSLhsl(256, 46%, 51%)
HSVhsv(256, 61%, 73%)
CMYKcmyk(45.5%, 61.5%, 0%, 26.7%)
CIE-LABlab(39.66, 40.49, -56.52)
CIE-LCHlch(39.66, 69.53, 305.62°)
OKLaboklab(49.7% 0.0612 -0.1614)
OKLCHoklch(49.7% 0.173 290.8)
XYZxyz(16.7640, 11.0468, 48.2530)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6648BB #9DBB48
analogous
#4863BB #6648BB #9F48BB
triadic
#6648BB #BB6648 #48BB66
tetradic
#6648BB #BB4863 #9DBB48 #48BB9F
square
#6648BB #BB4863 #9DBB48 #48BB9F
split-complementary
#6648BB #BB9F48 #63BB48
monochromatic
#352564 #4D3690 #6648BB #8B75CC #B1A1DC

Accessibility & contrast

On white

6.54
#6648BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6648BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6648BB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6648BB#FFFFFF#000000##FFFFFF
##6648BB1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#4C627B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6648bb;
/* rgb */ color: rgb(102, 72, 187);
/* oklch */ color: oklch(49.7% 0.173 290.8);
Tailwind
colors: {
  custom: {
    50: '#987cd0',
    500: '#6648bb',
    950: '#000000',
  },
}
SCSS
$custom: #6648bb;
$custom-light: #987cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6648bb",
  "rgb": {
    "r": 102,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 255.652,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.497,
    "c": 0.17267,
    "h": 290.8
  },
  "luminance": 0.11047
}

Semantic roles & 50–950 ramp

primary
#6648BB
secondary
#BCC996
accent
#D552B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6648BB

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

Preview Lab → · Contrast checker → · Palette generator →

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