#6646CE#6646CE

#6646CE is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.199 H 288.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6646CE
RGBrgb(102, 70, 206)
HSLhsl(254, 58%, 54%)
HSVhsv(254, 66%, 81%)
CMYKcmyk(50.5%, 66%, 0%, 19.2%)
CIE-LABlab(40.67, 47.09, -65.93)
CIE-LCHlch(40.67, 81.02, 305.53°)
OKLaboklab(50.88% 0.0615 -0.1891)
OKLCHoklch(50.88% 0.199 288)
XYZxyz(18.8070, 11.6605, 59.6403)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6646CE #AECE46
analogous
#466ACE #6646CE #AA46CE
triadic
#6646CE #CE6646 #46CE66
tetradic
#6646CE #CE466A #AECE46 #46CEAA
square
#6646CE #CE466A #AECE46 #46CEAA
split-complementary
#6646CE #CEAA46 #6ACE46
monochromatic
#352079 #4A2DAA #6646CE #8E76DB #B6A7E8

Accessibility & contrast

On white

6.30
#6646CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6646CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6646CE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6646CE#FFFFFF#000000##FFFFFF
##6646CE1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#406884
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6646ce;
/* rgb */ color: rgb(102, 70, 206);
/* oklch */ color: oklch(50.9% 0.199 288.0);
Tailwind
colors: {
  custom: {
    50: '#9a7bde',
    500: '#6646ce',
    950: '#000000',
  },
}
SCSS
$custom: #6646ce;
$custom-light: #9a7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#6646ce",
  "rgb": {
    "r": 102,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 254.118,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50883,
    "c": 0.19886,
    "h": 288
  },
  "luminance": 0.11661
}

Semantic roles & 50–950 ramp

primary
#6646CE
secondary
#C7D59B
accent
#E146BD
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6646CE

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

Preview Lab → · Contrast checker → · Palette generator →

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