#6647E8#6647E8

#6647E8 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.229 H 284.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6647E8
RGBrgb(102, 71, 232)
HSLhsl(252, 78%, 59%)
HSVhsv(252, 69%, 91%)
CMYKcmyk(56%, 69.4%, 0%, 9%)
CIE-LABlab(43.00, 54.06, -77.00)
CIE-LCHlch(43.00, 94.08, 305.07°)
OKLaboklab(53.21% 0.0565 -0.2216)
OKLCHoklch(53.21% 0.229 284.3)
XYZxyz(22.2938, 13.1561, 77.6929)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6647E8 #C9E847
analogous
#4779E8 #6647E8 #B747E8
triadic
#6647E8 #E86647 #47E866
tetradic
#6647E8 #E84779 #C9E847 #47E8B7
square
#6647E8 #E84779 #C9E847 #47E8B7
split-complementary
#6647E8 #E8B747 #79E847
monochromatic
#2F14A1 #3F1BD7 #6647E8 #937DEF #C0B4F6

Accessibility & contrast

On white

5.78
#6647E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6647E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6647E8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6647E8#FFFFFF#000000##FFFFFF
##6647E81.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AED
Deuteranopia (green-blind)
#0060E5
Tritanopia (blue-blind)
#247292
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6647e8;
/* rgb */ color: rgb(102, 71, 232);
/* oklch */ color: oklch(53.2% 0.229 284.3);
Tailwind
colors: {
  custom: {
    50: '#9e7df1',
    500: '#6647e8',
    950: '#000000',
  },
}
SCSS
$custom: #6647e8;
$custom-light: #9e7df1;
$custom-dark: #000000;
JSON
{
  "hex": "#6647e8",
  "rgb": {
    "r": 102,
    "g": 71,
    "b": 232
  },
  "hsl": {
    "h": 251.553,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5321,
    "c": 0.22871,
    "h": 284.3
  },
  "luminance": 0.13157
}

Semantic roles & 50–950 ramp

primary
#6647E8
secondary
#D9E5A6
accent
#F434CF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6647E8

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

Preview Lab → · Contrast checker → · Palette generator →

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