#6646C7#6646C7

#6646C7 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.190 H 289.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#6646C7
RGBrgb(102, 70, 199)
HSLhsl(255, 54%, 53%)
HSVhsv(255, 65%, 78%)
CMYKcmyk(48.7%, 64.8%, 0%, 22%)
CIE-LABlab(40.13, 45.07, -62.76)
CIE-LCHlch(40.13, 77.27, 305.68°)
OKLaboklab(50.32% 0.0623 -0.1798)
OKLCHoklch(50.32% 0.19 289.1)
XYZxyz(17.9755, 11.3279, 55.2611)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6646C7 #A7C746
analogous
#4666C7 #6646C7 #A746C7
triadic
#6646C7 #C76646 #46C766
tetradic
#6646C7 #C74666 #A7C746 #46C7A7
square
#6646C7 #C74666 #A7C746 #46C7A7
split-complementary
#6646C7 #C7A746 #66C746
monochromatic
#362271 #4C30A0 #6646C7 #8D75D5 #B4A4E3

Accessibility & contrast

On white

6.43
#6646C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6646C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6646C7
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6646C7#FFFFFF#000000##FFFFFF
##6646C71.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#456580
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6646c7;
/* rgb */ color: rgb(102, 70, 199);
/* oklch */ color: oklch(50.3% 0.190 289.1);
Tailwind
colors: {
  custom: {
    50: '#997bd9',
    500: '#6646c7',
    950: '#000000',
  },
}
SCSS
$custom: #6646c7;
$custom-light: #997bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#6646c7",
  "rgb": {
    "r": 102,
    "g": 70,
    "b": 199
  },
  "hsl": {
    "h": 254.884,
    "s": 53.527,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50321,
    "c": 0.1903,
    "h": 289.1
  },
  "luminance": 0.11329
}

Semantic roles & 50–950 ramp

primary
#6646C7
secondary
#C2D098
accent
#DD4BB9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6646C7

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

Preview Lab → · Contrast checker → · Palette generator →

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