#663CD5#663CD5

#663CD5 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.1% C 0.219 H 288.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#663CD5
RGBrgb(102, 60, 213)
HSLhsl(256, 65%, 54%)
HSVhsv(256, 72%, 84%)
CMYKcmyk(52.1%, 71.8%, 0%, 16.5%)
CIE-LABlab(39.34, 54.33, -72.14)
CIE-LCHlch(39.34, 90.31, 306.98°)
OKLaboklab(50.11% 0.0692 -0.2073)
OKLCHoklch(50.11% 0.219 288.4)
XYZxyz(19.1021, 10.8597, 64.0275)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CD5 #ABD53C
analogous
#3C5ED5 #663CD5 #B33CD5
triadic
#663CD5 #D5663C #3CD566
tetradic
#663CD5 #D53C5E #ABD53C #3CD5B3
square
#663CD5 #D53C5E #ABD53C #3CD5B3
split-complementary
#663CD5 #D5B33C #5ED53C
monochromatic
#351B7C #4B26AE #663CD5 #8E6EE0 #B5A1EB

Accessibility & contrast

On white

6.62
#663CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#663CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663CD5
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CD5#FFFFFF#000000##FFFFFF
##663CD51.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D9
Deuteranopia (green-blind)
#0059D2
Tritanopia (blue-blind)
#3B6585
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #663cd5;
/* rgb */ color: rgb(102, 60, 213);
/* oklch */ color: oklch(50.1% 0.219 288.4);
Tailwind
colors: {
  custom: {
    50: '#9c76e3',
    500: '#663cd5',
    950: '#000000',
  },
}
SCSS
$custom: #663cd5;
$custom-light: #9c76e3;
$custom-dark: #000000;
JSON
{
  "hex": "#663cd5",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 256.471,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50113,
    "c": 0.21855,
    "h": 288.4
  },
  "luminance": 0.10861
}

Semantic roles & 50–950 ramp

primary
#663CD5
secondary
#C5D796
accent
#E840BA
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #663CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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