#6649D9#6649D9

#6649D9 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.2% C 0.209 H 285.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6649D9
RGBrgb(102, 73, 217)
HSLhsl(252, 65%, 57%)
HSVhsv(252, 66%, 85%)
CMYKcmyk(53%, 66.4%, 0%, 14.9%)
CIE-LABlab(42.15, 48.63, -69.84)
CIE-LCHlch(42.15, 85.10, 304.85°)
OKLaboklab(52.22% 0.0572 -0.2006)
OKLCHoklch(52.22% 0.209 285.9)
XYZxyz(20.3827, 12.5985, 66.9899)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6649D9 #BCD949
analogous
#4974D9 #6649D9 #AE49D9
triadic
#6649D9 #D96649 #49D966
tetradic
#6649D9 #D94974 #BCD949 #49D9AE
square
#6649D9 #D94974 #BCD949 #49D9AE
split-complementary
#6649D9 #D9AE49 #74D949
monochromatic
#331D8B #4628BD #6649D9 #917CE4 #BBAEEE

Accessibility & contrast

On white

5.97
#6649D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6649D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6649D9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6649D9#FFFFFF#000000##FFFFFF
##6649D91.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#005FD6
Tritanopia (blue-blind)
#376D8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6649d9;
/* rgb */ color: rgb(102, 73, 217);
/* oklch */ color: oklch(52.2% 0.209 285.9);
Tailwind
colors: {
  custom: {
    50: '#9c7ee6',
    500: '#6649d9',
    950: '#000000',
  },
}
SCSS
$custom: #6649d9;
$custom-light: #9c7ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#6649d9",
  "rgb": {
    "r": 102,
    "g": 73,
    "b": 217
  },
  "hsl": {
    "h": 252.083,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52222,
    "c": 0.20861,
    "h": 285.9
  },
  "luminance": 0.126
}

Semantic roles & 50–950 ramp

primary
#6649D9
secondary
#D0DCA2
accent
#E83FC6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6649D9

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

Preview Lab → · Contrast checker → · Palette generator →

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