#663EC7#663EC7

#663EC7 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.2% C 0.200 H 290.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#663EC7
RGBrgb(102, 62, 199)
HSLhsl(258, 55%, 51%)
HSVhsv(258, 69%, 78%)
CMYKcmyk(48.7%, 68.8%, 0%, 22%)
CIE-LABlab(38.54, 49.41, -65.35)
CIE-LCHlch(38.54, 81.93, 307.09°)
OKLaboklab(49.18% 0.0701 -0.1874)
OKLCHoklch(49.18% 0.2 290.5)
XYZxyz(17.5080, 10.3929, 55.1053)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EC7 #9FC73E
analogous
#3E5AC7 #663EC7 #AA3EC7
triadic
#663EC7 #C7663E #3EC766
tetradic
#663EC7 #C73E5A #9FC73E #3EC7AA
square
#663EC7 #C73E5A #9FC73E #3EC7AA
split-complementary
#663EC7 #C7AA3E #5AC73E
monochromatic
#351F6B #4D2D9B #663EC7 #8C6DD5 #B19DE3

Accessibility & contrast

On white

6.82
#663EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#663EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663EC7
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EC7#FFFFFF#000000##FFFFFF
##663EC71.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#46617E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663ec7;
/* rgb */ color: rgb(102, 62, 199);
/* oklch */ color: oklch(49.2% 0.200 290.5);
Tailwind
colors: {
  custom: {
    50: '#9a76d9',
    500: '#663ec7',
    950: '#000000',
  },
}
SCSS
$custom: #663ec7;
$custom-light: #9a76d9;
$custom-dark: #000000;
JSON
{
  "hex": "#663ec7",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 199
  },
  "hsl": {
    "h": 257.518,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49178,
    "c": 0.20008,
    "h": 290.5
  },
  "luminance": 0.10394
}

Semantic roles & 50–950 ramp

primary
#663EC7
secondary
#BDCF92
accent
#DE49B3
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663EC7

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

Preview Lab → · Contrast checker → · Palette generator →

#663EC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva