#663FC5#663FC5

#663FC5 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.197 H 290.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#663FC5
RGBrgb(102, 63, 197)
HSLhsl(257, 54%, 51%)
HSVhsv(257, 68%, 77%)
CMYKcmyk(48.2%, 68%, 0%, 22.7%)
CIE-LABlab(38.57, 48.33, -64.14)
CIE-LCHlch(38.57, 80.30, 307.00°)
OKLaboklab(49.15% 0.0695 -0.1838)
OKLCHoklch(49.15% 0.197 290.7)
XYZxyz(17.3322, 10.4103, 53.9087)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FC5 #9EC53F
analogous
#3F5BC5 #663FC5 #A93FC5
triadic
#663FC5 #C5663F #3FC566
tetradic
#663FC5 #C53F5B #9EC53F #3FC5A9
square
#663FC5 #C53F5B #9EC53F #3FC5A9
split-complementary
#663FC5 #C5A93F #5BC53F
monochromatic
#35206A #4D2E99 #663FC5 #8B6ED3 #B19DE1

Accessibility & contrast

On white

6.81
#663FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#663FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FC5
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FC5#FFFFFF#000000##FFFFFF
##663FC51.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#47617D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663fc5;
/* rgb */ color: rgb(102, 63, 197);
/* oklch */ color: oklch(49.1% 0.197 290.7);
Tailwind
colors: {
  custom: {
    50: '#9a77d8',
    500: '#663fc5',
    950: '#000000',
  },
}
SCSS
$custom: #663fc5;
$custom-light: #9a77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#663fc5",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 257.463,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4915,
    "c": 0.19653,
    "h": 290.7
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

primary
#663FC5
secondary
#BCCE92
accent
#DD4BB2
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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