#6647E6#6647E6

#6647E6 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.226 H 284.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6647E6
RGBrgb(102, 71, 230)
HSLhsl(252, 76%, 59%)
HSVhsv(252, 69%, 90%)
CMYKcmyk(55.7%, 69.1%, 0%, 9.8%)
CIE-LABlab(42.83, 53.48, -76.14)
CIE-LCHlch(42.83, 93.05, 305.08°)
OKLaboklab(53.04% 0.0569 -0.2191)
OKLCHoklch(53.04% 0.226 284.6)
XYZxyz(22.0113, 13.0431, 76.2053)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6647E6 #C7E647
analogous
#4778E6 #6647E6 #B647E6
triadic
#6647E6 #E66647 #47E666
tetradic
#6647E6 #E64778 #C7E647 #47E6B6
square
#6647E6 #E64778 #C7E647 #47E6B6
split-complementary
#6647E6 #E6B647 #78E647
monochromatic
#30159D #401DD3 #6647E6 #937DED #C0B3F5

Accessibility & contrast

On white

5.82
#6647E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6647E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6647E6
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6647E6#FFFFFF#000000##FFFFFF
##6647E61.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#0060E3
Tritanopia (blue-blind)
#277191
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6647e6;
/* rgb */ color: rgb(102, 71, 230);
/* oklch */ color: oklch(53.0% 0.226 284.6);
Tailwind
colors: {
  custom: {
    50: '#9e7def',
    500: '#6647e6',
    950: '#000000',
  },
}
SCSS
$custom: #6647e6;
$custom-light: #9e7def;
$custom-dark: #000000;
JSON
{
  "hex": "#6647e6",
  "rgb": {
    "r": 102,
    "g": 71,
    "b": 230
  },
  "hsl": {
    "h": 251.698,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53037,
    "c": 0.22637,
    "h": 284.6
  },
  "luminance": 0.13044
}

Semantic roles & 50–950 ramp

primary
#6647E6
secondary
#D7E4A5
accent
#F335CE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6647E6

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

Preview Lab → · Contrast checker → · Palette generator →

#6647E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva