#6647D6#6647D6

#6647D6 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.7% C 0.207 H 286.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6647D6
RGBrgb(102, 71, 214)
HSLhsl(253, 64%, 56%)
HSVhsv(253, 67%, 84%)
CMYKcmyk(52.3%, 66.8%, 0%, 16.1%)
CIE-LABlab(41.51, 48.85, -69.17)
CIE-LCHlch(41.51, 84.68, 305.23°)
OKLaboklab(51.68% 0.0594 -0.1986)
OKLCHoklch(51.68% 0.207 286.7)
XYZxyz(19.8667, 12.1853, 64.9105)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6647D6 #B7D647
analogous
#476FD6 #6647D6 #AD47D6
triadic
#6647D6 #D66647 #47D666
tetradic
#6647D6 #D6476F #B7D647 #47D6AD
square
#6647D6 #D6476F #B7D647 #47D6AD
split-complementary
#6647D6 #D6AD47 #6FD647
monochromatic
#341E85 #4829B7 #6647D6 #9079E1 #B9ABEC

Accessibility & contrast

On white

6.11
#6647D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6647D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6647D6
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6647D6#FFFFFF#000000##FFFFFF
##6647D61.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#005ED3
Tritanopia (blue-blind)
#3A6B89
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6647d6;
/* rgb */ color: rgb(102, 71, 214);
/* oklch */ color: oklch(51.7% 0.207 286.7);
Tailwind
colors: {
  custom: {
    50: '#9b7ce4',
    500: '#6647d6',
    950: '#000000',
  },
}
SCSS
$custom: #6647d6;
$custom-light: #9b7ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#6647d6",
  "rgb": {
    "r": 102,
    "g": 71,
    "b": 214
  },
  "hsl": {
    "h": 253.007,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51684,
    "c": 0.20734,
    "h": 286.7
  },
  "luminance": 0.12186
}

Semantic roles & 50–950 ramp

primary
#6647D6
secondary
#CDDA9F
accent
#E741C3
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6647D6

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

Preview Lab → · Contrast checker → · Palette generator →

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