#663CA7#663CA7

#663CA7 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.4% C 0.164 H 297.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#663CA7
RGBrgb(102, 60, 167)
HSLhsl(264, 47%, 45%)
HSVhsv(264, 64%, 65%)
CMYKcmyk(38.9%, 64.1%, 0%, 34.5%)
CIE-LABlab(35.69, 41.70, -51.10)
CIE-LCHlch(35.69, 65.96, 309.22°)
OKLaboklab(46.36% 0.0764 -0.1455)
OKLCHoklch(46.36% 0.164 297.7)
XYZxyz(14.0686, 8.8463, 37.5180)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CA7 #7DA73C
analogous
#3C48A7 #663CA7 #9C3CA7
triadic
#663CA7 #A7663C #3CA766
tetradic
#663CA7 #A73C48 #7DA73C #3CA79C
square
#663CA7 #A73C48 #7DA73C #3CA79C
split-complementary
#663CA7 #A79C3C #48A73C
monochromatic
#2F1C4D #4B2C7A #663CA7 #855CC4 #A789D5

Accessibility & contrast

On white

7.58
#663CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#663CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CA7
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CA7#FFFFFF#000000##FFFFFF
##663CA71.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#0053A5
Tritanopia (blue-blind)
#57546C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #663ca7;
/* rgb */ color: rgb(102, 60, 167);
/* oklch */ color: oklch(46.4% 0.164 297.7);
Tailwind
colors: {
  custom: {
    50: '#9674c2',
    500: '#663ca7',
    950: '#000000',
  },
}
SCSS
$custom: #663ca7;
$custom-light: #9674c2;
$custom-dark: #000000;
JSON
{
  "hex": "#663ca7",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 263.551,
    "s": 47.137,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46357,
    "c": 0.16432,
    "h": 297.7
  },
  "luminance": 0.08847
}

Semantic roles & 50–950 ramp

primary
#663CA7
secondary
#A6BF80
accent
#D751A2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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