#6647D9#6647D9

#6647D9 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.9% C 0.211 H 286.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#6647D9
RGBrgb(102, 71, 217)
HSLhsl(253, 66%, 56%)
HSVhsv(253, 67%, 85%)
CMYKcmyk(53%, 67.3%, 0%, 14.9%)
CIE-LABlab(41.75, 49.72, -70.50)
CIE-LCHlch(41.75, 86.26, 305.19°)
OKLaboklab(51.93% 0.059 -0.2025)
OKLCHoklch(51.93% 0.211 286.2)
XYZxyz(20.2534, 12.3399, 66.9468)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6647D9 #BAD947
analogous
#4771D9 #6647D9 #AF47D9
triadic
#6647D9 #D96647 #47D966
tetradic
#6647D9 #D94771 #BAD947 #47D9AF
square
#6647D9 #D94771 #BAD947 #47D9AF
split-complementary
#6647D9 #D9AF47 #71D947
monochromatic
#331C89 #4627BC #6647D9 #907AE3 #BAACEE

Accessibility & contrast

On white

6.06
#6647D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6647D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6647D9
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6647D9#FFFFFF#000000##FFFFFF
##6647D91.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#376C8A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6647d9;
/* rgb */ color: rgb(102, 71, 217);
/* oklch */ color: oklch(51.9% 0.211 286.2);
Tailwind
colors: {
  custom: {
    50: '#9c7ce6',
    500: '#6647d9',
    950: '#000000',
  },
}
SCSS
$custom: #6647d9;
$custom-light: #9c7ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#6647d9",
  "rgb": {
    "r": 102,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 252.74,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51934,
    "c": 0.21095,
    "h": 286.2
  },
  "luminance": 0.12341
}

Semantic roles & 50–950 ramp

primary
#6647D9
secondary
#CFDCA0
accent
#E93FC5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6647D9

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

Preview Lab → · Contrast checker → · Palette generator →

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