#6647D2#6647D2

#6647D2 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.4% C 0.203 H 287.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6647D2
RGBrgb(102, 71, 210)
HSLhsl(253, 61%, 55%)
HSVhsv(253, 66%, 82%)
CMYKcmyk(51.4%, 66.2%, 0%, 17.6%)
CIE-LABlab(41.19, 47.69, -67.39)
CIE-LCHlch(41.19, 82.56, 305.29°)
OKLaboklab(51.36% 0.06 -0.1934)
OKLCHoklch(51.36% 0.203 287.2)
XYZxyz(19.3622, 11.9835, 62.2531)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6647D2 #B3D247
analogous
#476ED2 #6647D2 #AB47D2
triadic
#6647D2 #D26647 #47D266
tetradic
#6647D2 #D2476E #B3D247 #47D2AB
square
#6647D2 #D2476E #B3D247 #47D2AB
split-complementary
#6647D2 #D2AB47 #6ED247
monochromatic
#351F7F #492BB1 #6647D2 #8F78DE #B8A9EA

Accessibility & contrast

On white

6.18
#6647D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6647D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6647D2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6647D2#FFFFFF#000000##FFFFFF
##6647D21.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#005DCF
Tritanopia (blue-blind)
#3D6A86
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6647d2;
/* rgb */ color: rgb(102, 71, 210);
/* oklch */ color: oklch(51.4% 0.203 287.2);
Tailwind
colors: {
  custom: {
    50: '#9b7ce1',
    500: '#6647d2',
    950: '#000000',
  },
}
SCSS
$custom: #6647d2;
$custom-light: #9b7ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#6647d2",
  "rgb": {
    "r": 102,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 253.381,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51355,
    "c": 0.20251,
    "h": 287.2
  },
  "luminance": 0.11984
}

Semantic roles & 50–950 ramp

primary
#6647D2
secondary
#CBD89D
accent
#E444C0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6647D2

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

Preview Lab → · Contrast checker → · Palette generator →

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