#6646DE#6646DE

#6646DE is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.2% C 0.218 H 285.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#6646DE
RGBrgb(102, 70, 222)
HSLhsl(253, 70%, 57%)
HSVhsv(253, 68%, 87%)
CMYKcmyk(54.1%, 68.5%, 0%, 12.9%)
CIE-LABlab(41.97, 51.70, -73.00)
CIE-LCHlch(41.97, 89.46, 305.31°)
OKLaboklab(52.21% 0.0591 -0.2099)
OKLCHoklch(52.21% 0.218 285.7)
XYZxyz(20.8505, 12.4779, 70.4029)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6646DE #BEDE46
analogous
#4672DE #6646DE #B246DE
triadic
#6646DE #DE6646 #46DE66
tetradic
#6646DE #DE4672 #BEDE46 #46DEB2
square
#6646DE #DE4672 #BEDE46 #46DEB2
split-complementary
#6646DE #DEB246 #72DE46
monochromatic
#331A90 #4523C4 #6646DE #917AE7 #BCAEF1

Accessibility & contrast

On white

6.01
#6646DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6646DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6646DE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6646DE#FFFFFF#000000##FFFFFF
##6646DE1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E3
Deuteranopia (green-blind)
#005EDB
Tritanopia (blue-blind)
#326D8D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6646de;
/* rgb */ color: rgb(102, 70, 222);
/* oklch */ color: oklch(52.2% 0.218 285.7);
Tailwind
colors: {
  custom: {
    50: '#9d7ce9',
    500: '#6646de',
    950: '#000000',
  },
}
SCSS
$custom: #6646de;
$custom-light: #9d7ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#6646de",
  "rgb": {
    "r": 102,
    "g": 70,
    "b": 222
  },
  "hsl": {
    "h": 252.632,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52214,
    "c": 0.21805,
    "h": 285.7
  },
  "luminance": 0.12479
}

Semantic roles & 50–950 ramp

primary
#6646DE
secondary
#D2DFA1
accent
#ED3BC7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6646DE

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

Preview Lab → · Contrast checker → · Palette generator →

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