#6646D2#6646D2

#6646D2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.2% C 0.204 H 287.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6646D2
RGBrgb(102, 70, 210)
HSLhsl(254, 61%, 55%)
HSVhsv(254, 67%, 82%)
CMYKcmyk(51.4%, 66.7%, 0%, 17.6%)
CIE-LABlab(40.99, 48.24, -67.72)
CIE-LCHlch(40.99, 83.15, 305.46°)
OKLaboklab(51.21% 0.0609 -0.1944)
OKLCHoklch(51.21% 0.204 287.4)
XYZxyz(19.2991, 11.8573, 62.2321)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6646D2 #B2D246
analogous
#466CD2 #6646D2 #AC46D2
triadic
#6646D2 #D26646 #46D266
tetradic
#6646D2 #D2466C #B2D246 #46D2AC
square
#6646D2 #D2466C #B2D246 #46D2AC
split-complementary
#6646D2 #D2AC46 #6CD246
monochromatic
#351F7F #492BB0 #6646D2 #8F77DE #B7A8EA

Accessibility & contrast

On white

6.23
#6646D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6646D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6646D2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6646D2#FFFFFF#000000##FFFFFF
##6646D21.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6646d2;
/* rgb */ color: rgb(102, 70, 210);
/* oklch */ color: oklch(51.2% 0.204 287.4);
Tailwind
colors: {
  custom: {
    50: '#9b7ce1',
    500: '#6646d2',
    950: '#000000',
  },
}
SCSS
$custom: #6646d2;
$custom-light: #9b7ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#6646d2",
  "rgb": {
    "r": 102,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 253.714,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5121,
    "c": 0.2037,
    "h": 287.4
  },
  "luminance": 0.11858
}

Semantic roles & 50–950 ramp

primary
#6646D2
secondary
#CAD79C
accent
#E444BF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6646D2

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

Preview Lab → · Contrast checker → · Palette generator →

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