#663FC2#663FC2

#663FC2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.9% C 0.193 H 291.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#663FC2
RGBrgb(102, 63, 194)
HSLhsl(258, 52%, 50%)
HSVhsv(258, 68%, 76%)
CMYKcmyk(47.4%, 67.5%, 0%, 23.9%)
CIE-LABlab(38.33, 47.49, -62.77)
CIE-LCHlch(38.33, 78.71, 307.11°)
OKLaboklab(48.9% 0.0699 -0.1798)
OKLCHoklch(48.9% 0.193 291.3)
XYZxyz(16.9919, 10.2742, 52.1163)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FC2 #9BC23F
analogous
#3F59C2 #663FC2 #A83FC2
triadic
#663FC2 #C2663F #3FC266
tetradic
#663FC2 #C23F59 #9BC23F #3FC2A8
square
#663FC2 #C23F59 #9BC23F #3FC2A8
split-complementary
#663FC2 #C2A83F #59C23F
monochromatic
#352066 #4D2F95 #663FC2 #8B6DD1 #B09CE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##663FC2#FFFFFF#000000##FFFFFF
##663FC21.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)
#005CC6
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#495F7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663fc2;
/* rgb */ color: rgb(102, 63, 194);
/* oklch */ color: oklch(48.9% 0.193 291.3);
Tailwind
colors: {
  custom: {
    50: '#9977d5',
    500: '#663fc2',
    950: '#000000',
  },
}
SCSS
$custom: #663fc2;
$custom-light: #9977d5;
$custom-dark: #000000;
JSON
{
  "hex": "#663fc2",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 257.863,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48904,
    "c": 0.19296,
    "h": 291.3
  },
  "luminance": 0.10275
}

Semantic roles & 50–950 ramp

primary
#663FC2
secondary
#BACC91
accent
#DB4DB1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #663FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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