#663CD9#663CD9

#663CD9 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.223 H 287.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#663CD9
RGBrgb(102, 60, 217)
HSLhsl(256, 67%, 54%)
HSVhsv(256, 72%, 85%)
CMYKcmyk(53%, 72.4%, 0%, 14.9%)
CIE-LABlab(39.69, 55.44, -73.87)
CIE-LCHlch(39.69, 92.36, 306.89°)
OKLaboklab(50.47% 0.0683 -0.2124)
OKLCHoklch(50.47% 0.223 287.8)
XYZxyz(19.6160, 11.0653, 66.7344)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CD9 #AFD93C
analogous
#3C61D9 #663CD9 #B53CD9
triadic
#663CD9 #D9663C #3CD966
tetradic
#663CD9 #D93C61 #AFD93C #3CD9B5
square
#663CD9 #D93C61 #AFD93C #3CD9B5
split-complementary
#663CD9 #D9B53C #61D93C
monochromatic
#351981 #4A23B5 #663CD9 #8E6FE3 #B6A2ED

Accessibility & contrast

On white

6.54
#663CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#663CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663CD9
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CD9#FFFFFF#000000##FFFFFF
##663CD91.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DE
Deuteranopia (green-blind)
#0059D6
Tritanopia (blue-blind)
#386687
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #663cd9;
/* rgb */ color: rgb(102, 60, 217);
/* oklch */ color: oklch(50.5% 0.223 287.8);
Tailwind
colors: {
  custom: {
    50: '#9d76e6',
    500: '#663cd9',
    950: '#000000',
  },
}
SCSS
$custom: #663cd9;
$custom-light: #9d76e6;
$custom-dark: #000000;
JSON
{
  "hex": "#663cd9",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 217
  },
  "hsl": {
    "h": 256.051,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50465,
    "c": 0.2231,
    "h": 287.8
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#663CD9
secondary
#C8DA97
accent
#EA3EBC
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #663CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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