#663DC7#663DC7

#663DC7 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.0% C 0.201 H 290.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#663DC7
RGBrgb(102, 61, 199)
HSLhsl(258, 55%, 51%)
HSVhsv(258, 69%, 78%)
CMYKcmyk(48.7%, 69.3%, 0%, 22%)
CIE-LABlab(38.35, 49.94, -65.66)
CIE-LCHlch(38.35, 82.49, 307.25°)
OKLaboklab(49.04% 0.071 -0.1883)
OKLCHoklch(49.04% 0.201 290.7)
XYZxyz(17.4541, 10.2851, 55.0873)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DC7 #9EC73D
analogous
#3D59C7 #663DC7 #AB3DC7
triadic
#663DC7 #C7663D #3DC766
tetradic
#663DC7 #C73D59 #9EC73D #3DC7AB
square
#663DC7 #C73D59 #9EC73D #3DC7AB
split-complementary
#663DC7 #C7AB3D #59C73D
monochromatic
#351F6B #4D2D9A #663DC7 #8B6CD5 #B19CE2

Accessibility & contrast

On white

6.87
#663DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#663DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663DC7
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DC7#FFFFFF#000000##FFFFFF
##663DC71.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#46607D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663dc7;
/* rgb */ color: rgb(102, 61, 199);
/* oklch */ color: oklch(49.0% 0.201 290.7);
Tailwind
colors: {
  custom: {
    50: '#9a76d9',
    500: '#663dc7',
    950: '#000000',
  },
}
SCSS
$custom: #663dc7;
$custom-light: #9a76d9;
$custom-dark: #000000;
JSON
{
  "hex": "#663dc7",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 257.826,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49043,
    "c": 0.20126,
    "h": 290.7
  },
  "luminance": 0.10286
}

Semantic roles & 50–950 ramp

primary
#663DC7
secondary
#BCCE91
accent
#DF49B2
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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