#663CD7#663CD7

#663CD7 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.3% C 0.221 H 288.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#663CD7
RGBrgb(102, 60, 215)
HSLhsl(256, 66%, 54%)
HSVhsv(256, 72%, 84%)
CMYKcmyk(52.6%, 72.1%, 0%, 15.7%)
CIE-LABlab(39.52, 54.88, -73.01)
CIE-LCHlch(39.52, 91.33, 306.93°)
OKLaboklab(50.29% 0.0687 -0.2099)
OKLCHoklch(50.29% 0.221 288.1)
XYZxyz(19.3575, 10.9618, 65.3727)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CD7 #ADD73C
analogous
#3C60D7 #663CD7 #B43CD7
triadic
#663CD7 #D7663C #3CD766
tetradic
#663CD7 #D73C60 #ADD73C #3CD7B4
square
#663CD7 #D73C60 #ADD73C #3CD7B4
split-complementary
#663CD7 #D7B43C #60D73C
monochromatic
#351A7F #4B24B1 #663CD7 #8E6FE1 #B6A2EC

Accessibility & contrast

On white

6.58
#663CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#663CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663CD7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CD7#FFFFFF#000000##FFFFFF
##663CD71.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DC
Deuteranopia (green-blind)
#0059D4
Tritanopia (blue-blind)
#3A6686
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #663cd7;
/* rgb */ color: rgb(102, 60, 215);
/* oklch */ color: oklch(50.3% 0.221 288.1);
Tailwind
colors: {
  custom: {
    50: '#9c76e5',
    500: '#663cd7',
    950: '#000000',
  },
}
SCSS
$custom: #663cd7;
$custom-light: #9c76e5;
$custom-dark: #000000;
JSON
{
  "hex": "#663cd7",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 215
  },
  "hsl": {
    "h": 256.258,
    "s": 65.957,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50288,
    "c": 0.22082,
    "h": 288.1
  },
  "luminance": 0.10963
}

Semantic roles & 50–950 ramp

primary
#663CD7
secondary
#C7D896
accent
#E93FBB
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #663CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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