#6646D4#6646D4

#6646D4 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.4% C 0.206 H 287.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6646D4
RGBrgb(102, 70, 212)
HSLhsl(254, 62%, 55%)
HSVhsv(254, 67%, 83%)
CMYKcmyk(51.9%, 67%, 0%, 16.9%)
CIE-LABlab(41.15, 48.82, -68.61)
CIE-LCHlch(41.15, 84.20, 305.43°)
OKLaboklab(51.38% 0.0606 -0.197)
OKLCHoklch(51.38% 0.206 287.1)
XYZxyz(19.5498, 11.9576, 63.5525)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6646D4 #B4D446
analogous
#466DD4 #6646D4 #AD46D4
triadic
#6646D4 #D46646 #46D466
tetradic
#6646D4 #D4466D #B4D446 #46D4AD
square
#6646D4 #D4466D #B4D446 #46D4AD
split-complementary
#6646D4 #D4AD46 #6DD446
monochromatic
#341E81 #492AB3 #6646D4 #8F78E0 #B8A9EB

Accessibility & contrast

On white

6.19
#6646D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6646D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6646D4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6646D4#FFFFFF#000000##FFFFFF
##6646D41.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D8
Deuteranopia (green-blind)
#005DD1
Tritanopia (blue-blind)
#3B6A87
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6646d4;
/* rgb */ color: rgb(102, 70, 212);
/* oklch */ color: oklch(51.4% 0.206 287.1);
Tailwind
colors: {
  custom: {
    50: '#9b7ce2',
    500: '#6646d4',
    950: '#000000',
  },
}
SCSS
$custom: #6646d4;
$custom-light: #9b7ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#6646d4",
  "rgb": {
    "r": 102,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 253.521,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.20612,
    "h": 287.1
  },
  "luminance": 0.11959
}

Semantic roles & 50–950 ramp

primary
#6646D4
secondary
#CBD99D
accent
#E542C1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #6646D4

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

Preview Lab → · Contrast checker → · Palette generator →

#6646D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva