#6647D5#6647D5

#6647D5 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.6% C 0.206 H 286.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6647D5
RGBrgb(102, 71, 213)
HSLhsl(253, 63%, 56%)
HSVhsv(253, 67%, 84%)
CMYKcmyk(52.1%, 66.7%, 0%, 16.5%)
CIE-LABlab(41.43, 48.56, -68.73)
CIE-LCHlch(41.43, 84.15, 305.24°)
OKLaboklab(51.6% 0.0596 -0.1973)
OKLCHoklch(51.6% 0.206 286.8)
XYZxyz(19.7394, 12.1344, 64.2399)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6647D5 #B6D547
analogous
#476FD5 #6647D5 #AD47D5
triadic
#6647D5 #D56647 #47D566
tetradic
#6647D5 #D5476F #B6D547 #47D5AD
square
#6647D5 #D5476F #B6D547 #47D5AD
split-complementary
#6647D5 #D5AD47 #6FD547
monochromatic
#341E84 #4829B5 #6647D5 #8F79E0 #B9ABEC

Accessibility & contrast

On white

6.13
#6647D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6647D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6647D5
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6647D5#FFFFFF#000000##FFFFFF
##6647D51.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#3B6B88
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6647d5;
/* rgb */ color: rgb(102, 71, 213);
/* oklch */ color: oklch(51.6% 0.206 286.8);
Tailwind
colors: {
  custom: {
    50: '#9b7ce3',
    500: '#6647d5',
    950: '#000000',
  },
}
SCSS
$custom: #6647d5;
$custom-light: #9b7ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#6647d5",
  "rgb": {
    "r": 102,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 253.099,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51602,
    "c": 0.20614,
    "h": 286.8
  },
  "luminance": 0.12135
}

Semantic roles & 50–950 ramp

primary
#6647D5
secondary
#CDD99E
accent
#E642C2
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6647D5

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

Preview Lab → · Contrast checker → · Palette generator →

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