#6648BC#6648BC

#6648BC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.8% C 0.174 H 290.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#6648BC
RGBrgb(102, 72, 188)
HSLhsl(256, 46%, 51%)
HSVhsv(256, 62%, 74%)
CMYKcmyk(45.7%, 61.7%, 0%, 26.3%)
CIE-LABlab(39.73, 40.78, -56.99)
CIE-LCHlch(39.73, 70.08, 305.59°)
OKLaboklab(49.78% 0.0612 -0.1628)
OKLCHoklch(49.78% 0.174 290.6)
XYZxyz(16.8714, 11.0898, 48.8188)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6648BC #9EBC48
analogous
#4864BC #6648BC #A048BC
triadic
#6648BC #BC6648 #48BC66
tetradic
#6648BC #BC4864 #9EBC48 #48BCA0
square
#6648BC #BC4864 #9EBC48 #48BCA0
split-complementary
#6648BC #BCA048 #64BC48
monochromatic
#352565 #4D3592 #6648BC #8B75CC #B1A2DD

Accessibility & contrast

On white

6.53
#6648BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6648BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6648BC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6648BC#FFFFFF#000000##FFFFFF
##6648BC1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#4C637B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6648bc;
/* rgb */ color: rgb(102, 72, 188);
/* oklch */ color: oklch(49.8% 0.174 290.6);
Tailwind
colors: {
  custom: {
    50: '#987cd1',
    500: '#6648bc',
    950: '#000000',
  },
}
SCSS
$custom: #6648bc;
$custom-light: #987cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6648bc",
  "rgb": {
    "r": 102,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 255.517,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49775,
    "c": 0.17394,
    "h": 290.6
  },
  "luminance": 0.1109
}

Semantic roles & 50–950 ramp

primary
#6648BC
secondary
#BCCA96
accent
#D652B4
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6648BC

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

Preview Lab → · Contrast checker → · Palette generator →

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