#6647CD#6647CD

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

Color values

HEX#6647CD
RGBrgb(102, 71, 205)
HSLhsl(254, 57%, 54%)
HSVhsv(254, 65%, 80%)
CMYKcmyk(50.2%, 65.4%, 0%, 19.6%)
CIE-LABlab(40.80, 46.25, -65.15)
CIE-LCHlch(40.80, 79.89, 305.37°)
OKLaboklab(50.95% 0.0606 -0.1868)
OKLCHoklch(50.95% 0.196 288)
XYZxyz(18.7490, 11.7382, 59.0236)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6647CD #AECD47
analogous
#476BCD #6647CD #A947CD
triadic
#6647CD #CD6647 #47CD66
tetradic
#6647CD #CD476B #AECD47 #47CDA9
square
#6647CD #CD476B #AECD47 #47CDA9
split-complementary
#6647CD #CDA947 #6BCD47
monochromatic
#352179 #4A2EA9 #6647CD #8E77DA #B6A7E7

Accessibility & contrast

On white

6.27
#6647CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6647CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6647CD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6647CD#FFFFFF#000000##FFFFFF
##6647CD1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#416884
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6647cd;
/* rgb */ color: rgb(102, 71, 205);
/* oklch */ color: oklch(50.9% 0.196 288.0);
Tailwind
colors: {
  custom: {
    50: '#9a7cdd',
    500: '#6647cd',
    950: '#000000',
  },
}
SCSS
$custom: #6647cd;
$custom-light: #9a7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6647cd",
  "rgb": {
    "r": 102,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 253.881,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5095,
    "c": 0.19642,
    "h": 288
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#6647CD
secondary
#C7D49B
accent
#E147BD
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6647CD

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

Preview Lab → · Contrast checker → · Palette generator →

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