#6647CF#6647CF

#6647CF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.199 H 287.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6647CF
RGBrgb(102, 71, 207)
HSLhsl(254, 59%, 55%)
HSVhsv(254, 66%, 81%)
CMYKcmyk(50.7%, 65.7%, 0%, 18.8%)
CIE-LABlab(40.95, 46.82, -66.05)
CIE-LCHlch(40.95, 80.96, 305.33°)
OKLaboklab(51.11% 0.0604 -0.1895)
OKLCHoklch(51.11% 0.199 287.7)
XYZxyz(18.9919, 11.8354, 60.3031)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6647CF #B0CF47
analogous
#476CCF #6647CF #AA47CF
triadic
#6647CF #CF6647 #47CF66
tetradic
#6647CF #CF476C #B0CF47 #47CFAA
square
#6647CF #CF476C #B0CF47 #47CFAA
split-complementary
#6647CF #CFAA47 #6CCF47
monochromatic
#35207B #4A2DAC #6647CF #8E78DC #B7A8E8

Accessibility & contrast

On white

6.24
#6647CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6647CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6647CF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6647CF#FFFFFF#000000##FFFFFF
##6647CF1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#3F6985
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6647cf;
/* rgb */ color: rgb(102, 71, 207);
/* oklch */ color: oklch(51.1% 0.199 287.7);
Tailwind
colors: {
  custom: {
    50: '#9a7cdf',
    500: '#6647cf',
    950: '#000000',
  },
}
SCSS
$custom: #6647cf;
$custom-light: #9a7cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6647cf",
  "rgb": {
    "r": 102,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 253.676,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51111,
    "c": 0.19886,
    "h": 287.7
  },
  "luminance": 0.11836
}

Semantic roles & 50–950 ramp

primary
#6647CF
secondary
#C9D69C
accent
#E246BE
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6647CF

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

Preview Lab → · Contrast checker → · Palette generator →

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