#6647BF#6647BF

#6647BF is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.8% C 0.179 H 290.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6647BF
RGBrgb(102, 71, 191)
HSLhsl(256, 48%, 51%)
HSVhsv(256, 63%, 75%)
CMYKcmyk(46.6%, 62.8%, 0%, 25.1%)
CIE-LABlab(39.74, 42.21, -58.74)
CIE-LCHlch(39.74, 72.33, 305.70°)
OKLaboklab(49.85% 0.062 -0.168)
OKLCHoklch(49.85% 0.179 290.3)
XYZxyz(17.1340, 11.0922, 50.5183)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6647BF #A0BF47
analogous
#4764BF #6647BF #A247BF
triadic
#6647BF #BF6647 #47BF66
tetradic
#6647BF #BF4764 #A0BF47 #47BFA2
square
#6647BF #BF4764 #A0BF47 #47BFA2
split-complementary
#6647BF #BFA247 #64BF47
monochromatic
#352468 #4D3495 #6647BF #8C74CF #B2A2DF

Accessibility & contrast

On white

6.52
#6647BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6647BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6647BF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6647BF#FFFFFF#000000##FFFFFF
##6647BF1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#4A637C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6647bf;
/* rgb */ color: rgb(102, 71, 191);
/* oklch */ color: oklch(49.8% 0.179 290.3);
Tailwind
colors: {
  custom: {
    50: '#987cd3',
    500: '#6647bf',
    950: '#000000',
  },
}
SCSS
$custom: #6647bf;
$custom-light: #987cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6647bf",
  "rgb": {
    "r": 102,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 255.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49847,
    "c": 0.17906,
    "h": 290.3
  },
  "luminance": 0.11093
}

Semantic roles & 50–950 ramp

primary
#6647BF
secondary
#BECB96
accent
#D850B5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6647BF

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

Preview Lab → · Contrast checker → · Palette generator →

#6647BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva