#663FC6#663FC6

#663FC6 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.2% C 0.198 H 290.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#663FC6
RGBrgb(102, 63, 198)
HSLhsl(257, 54%, 51%)
HSVhsv(257, 68%, 78%)
CMYKcmyk(48.5%, 68.2%, 0%, 22.4%)
CIE-LABlab(38.65, 48.60, -64.59)
CIE-LCHlch(38.65, 80.83, 306.96°)
OKLaboklab(49.23% 0.0693 -0.1852)
OKLCHoklch(49.23% 0.198 290.5)
XYZxyz(17.4471, 10.4563, 54.5141)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FC6 #9FC63F
analogous
#3F5BC6 #663FC6 #A93FC6
triadic
#663FC6 #C6663F #3FC666
tetradic
#663FC6 #C63F5B #9FC63F #3FC6A9
square
#663FC6 #C63F5B #9FC63F #3FC6A9
split-complementary
#663FC6 #C6A93F #5BC63F
monochromatic
#35206B #4D2E9A #663FC6 #8C6ED4 #B19DE2

Accessibility & contrast

On white

6.79
#663FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#663FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FC6
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FC6#FFFFFF#000000##FFFFFF
##663FC61.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0058C3
Tritanopia (blue-blind)
#46617D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663fc6;
/* rgb */ color: rgb(102, 63, 198);
/* oklch */ color: oklch(49.2% 0.198 290.5);
Tailwind
colors: {
  custom: {
    50: '#9a77d8',
    500: '#663fc6',
    950: '#000000',
  },
}
SCSS
$custom: #663fc6;
$custom-light: #9a77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#663fc6",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 198
  },
  "hsl": {
    "h": 257.333,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49233,
    "c": 0.19772,
    "h": 290.5
  },
  "luminance": 0.10457
}

Semantic roles & 50–950 ramp

primary
#663FC6
secondary
#BDCE93
accent
#DE4AB3
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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