#6646D8#6646D8

#6646D8 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.7% C 0.211 H 286.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6646D8
RGBrgb(102, 70, 216)
HSLhsl(253, 65%, 56%)
HSVhsv(253, 68%, 85%)
CMYKcmyk(52.8%, 67.6%, 0%, 15.3%)
CIE-LABlab(41.47, 49.97, -70.38)
CIE-LCHlch(41.47, 86.31, 305.38°)
OKLaboklab(51.71% 0.06 -0.2022)
OKLCHoklch(51.71% 0.211 286.5)
XYZxyz(20.0606, 12.1619, 66.2429)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6646D8 #B8D846
analogous
#466FD8 #6646D8 #AF46D8
triadic
#6646D8 #D86646 #46D866
tetradic
#6646D8 #D8466F #B8D846 #46D8AF
square
#6646D8 #D8466F #B8D846 #46D8AF
split-complementary
#6646D8 #D8AF46 #6FD846
monochromatic
#341C87 #4727BA #6646D8 #9079E3 #BAABED

Accessibility & contrast

On white

6.12
#6646D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6646D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6646D8
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6646D8#FFFFFF#000000##FFFFFF
##6646D81.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#005ED5
Tritanopia (blue-blind)
#386B89
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6646d8;
/* rgb */ color: rgb(102, 70, 216);
/* oklch */ color: oklch(51.7% 0.211 286.5);
Tailwind
colors: {
  custom: {
    50: '#9c7ce5',
    500: '#6646d8',
    950: '#000000',
  },
}
SCSS
$custom: #6646d8;
$custom-light: #9c7ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#6646d8",
  "rgb": {
    "r": 102,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 253.151,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51708,
    "c": 0.21092,
    "h": 286.5
  },
  "luminance": 0.12163
}

Semantic roles & 50–950 ramp

primary
#6646D8
secondary
#CEDB9F
accent
#E840C3
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6646D8

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

Preview Lab → · Contrast checker → · Palette generator →

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