#6647BC#6647BC

#6647BC is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.6% C 0.175 H 290.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#6647BC
RGBrgb(102, 71, 188)
HSLhsl(256, 47%, 51%)
HSVhsv(256, 62%, 74%)
CMYKcmyk(45.7%, 62.2%, 0%, 26.3%)
CIE-LABlab(39.52, 41.35, -57.34)
CIE-LCHlch(39.52, 70.69, 305.80°)
OKLaboklab(49.62% 0.0623 -0.1639)
OKLCHoklch(49.62% 0.175 290.8)
XYZxyz(16.8073, 10.9615, 48.7974)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6647BC #9DBC47
analogous
#4762BC #6647BC #A047BC
triadic
#6647BC #BC6647 #47BC66
tetradic
#6647BC #BC4762 #9DBC47 #47BCA0
square
#6647BC #BC4762 #9DBC47 #47BCA0
split-complementary
#6647BC #BCA047 #62BC47
monochromatic
#352464 #4D3591 #6647BC #8B74CC #B1A1DD

Accessibility & contrast

On white

6.58
#6647BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6647BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6647BC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6647BC#FFFFFF#000000##FFFFFF
##6647BC1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6647bc;
/* rgb */ color: rgb(102, 71, 188);
/* oklch */ color: oklch(49.6% 0.175 290.8);
Tailwind
colors: {
  custom: {
    50: '#987cd1',
    500: '#6647bc',
    950: '#000000',
  },
}
SCSS
$custom: #6647bc;
$custom-light: #987cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6647bc",
  "rgb": {
    "r": 102,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 255.897,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49618,
    "c": 0.17529,
    "h": 290.8
  },
  "luminance": 0.10962
}

Semantic roles & 50–950 ramp

primary
#6647BC
secondary
#BCC995
accent
#D652B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6647BC

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

Preview Lab → · Contrast checker → · Palette generator →

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