#663CA4#663CA4

#663CA4 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.1% C 0.161 H 298.5°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#663CA4
RGBrgb(102, 60, 164)
HSLhsl(264, 46%, 44%)
HSVhsv(264, 63%, 64%)
CMYKcmyk(37.8%, 63.4%, 0%, 35.7%)
CIE-LABlab(35.47, 40.90, -49.65)
CIE-LCHlch(35.47, 64.32, 309.48°)
OKLaboklab(46.13% 0.0766 -0.1412)
OKLCHoklch(46.13% 0.161 298.5)
XYZxyz(13.7945, 8.7367, 36.0743)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CA4 #7AA43C
analogous
#3C46A4 #663CA4 #9A3CA4
triadic
#663CA4 #A4663C #3CA466
tetradic
#663CA4 #A43C46 #7AA43C #3CA49A
square
#663CA4 #A43C46 #7AA43C #3CA49A
split-complementary
#663CA4 #A49A3C #46A43C
monochromatic
#2E1B4A #4A2C77 #663CA4 #855AC3 #A687D3

Accessibility & contrast

On white

7.64
#663CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#663CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CA4
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CA4#FFFFFF#000000##FFFFFF
##663CA41.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0A52A2
Tritanopia (blue-blind)
#58536A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #663ca4;
/* rgb */ color: rgb(102, 60, 164);
/* oklch */ color: oklch(46.1% 0.161 298.5);
Tailwind
colors: {
  custom: {
    50: '#9674c0',
    500: '#663ca4',
    950: '#000000',
  },
}
SCSS
$custom: #663ca4;
$custom-light: #9674c0;
$custom-dark: #000000;
JSON
{
  "hex": "#663ca4",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 264.231,
    "s": 46.429,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46133,
    "c": 0.16066,
    "h": 298.5
  },
  "luminance": 0.08737
}

Semantic roles & 50–950 ramp

primary
#663CA4
secondary
#A4BD7E
accent
#D652A1
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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