#663FC7#663FC7

#663FC7 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.3% C 0.199 H 290.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#663FC7
RGBrgb(102, 63, 199)
HSLhsl(257, 55%, 51%)
HSVhsv(257, 68%, 78%)
CMYKcmyk(48.7%, 68.3%, 0%, 22%)
CIE-LABlab(38.73, 48.88, -65.04)
CIE-LCHlch(38.73, 81.36, 306.93°)
OKLaboklab(49.32% 0.0692 -0.1865)
OKLCHoklch(49.32% 0.199 290.3)
XYZxyz(17.5629, 10.5026, 55.1236)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FC7 #A0C73F
analogous
#3F5CC7 #663FC7 #AA3FC7
triadic
#663FC7 #C7663F #3FC766
tetradic
#663FC7 #C73F5C #A0C73F #3FC7AA
square
#663FC7 #C73F5C #A0C73F #3FC7AA
split-complementary
#663FC7 #C7AA3F #5CC73F
monochromatic
#35206C #4D2D9B #663FC7 #8C6ED5 #B29EE3

Accessibility & contrast

On white

6.77
#663FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#663FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FC7
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FC7#FFFFFF#000000##FFFFFF
##663FC71.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #663fc7;
/* rgb */ color: rgb(102, 63, 199);
/* oklch */ color: oklch(49.3% 0.199 290.3);
Tailwind
colors: {
  custom: {
    50: '#9a77d9',
    500: '#663fc7',
    950: '#000000',
  },
}
SCSS
$custom: #663fc7;
$custom-light: #9a77d9;
$custom-dark: #000000;
JSON
{
  "hex": "#663fc7",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 257.206,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49315,
    "c": 0.1989,
    "h": 290.3
  },
  "luminance": 0.10503
}

Semantic roles & 50–950 ramp

primary
#663FC7
secondary
#BECF93
accent
#DE4AB4
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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