#663CA3#663CA3

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

Color values

HEX#663CA3
RGBrgb(102, 60, 163)
HSLhsl(264, 46%, 44%)
HSVhsv(264, 63%, 64%)
CMYKcmyk(37.4%, 63.2%, 0%, 36.1%)
CIE-LABlab(35.40, 40.63, -49.16)
CIE-LCHlch(35.40, 63.78, 309.57°)
OKLaboklab(46.06% 0.0767 -0.1398)
OKLCHoklch(46.06% 0.159 298.7)
XYZxyz(13.7046, 8.7007, 35.6006)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CA3 #79A33C
analogous
#3C45A3 #663CA3 #993CA3
triadic
#663CA3 #A3663C #3CA366
tetradic
#663CA3 #A33C45 #79A33C #3CA399
square
#663CA3 #A33C45 #79A33C #3CA399
split-complementary
#663CA3 #A3993C #45A33C
monochromatic
#2E1B4A #4A2C76 #663CA3 #845AC2 #A687D3

Accessibility & contrast

On white

7.66
#663CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#663CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CA3
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CA3#FFFFFF#000000##FFFFFF
##663CA31.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#0D52A1
Tritanopia (blue-blind)
#58536A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #663ca3;
/* rgb */ color: rgb(102, 60, 163);
/* oklch */ color: oklch(46.1% 0.159 298.7);
Tailwind
colors: {
  custom: {
    50: '#9674bf',
    500: '#663ca3',
    950: '#000000',
  },
}
SCSS
$custom: #663ca3;
$custom-light: #9674bf;
$custom-dark: #000000;
JSON
{
  "hex": "#663ca3",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 264.466,
    "s": 46.188,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4606,
    "c": 0.15943,
    "h": 298.7
  },
  "luminance": 0.08701
}

Semantic roles & 50–950 ramp

primary
#663CA3
secondary
#A3BD7E
accent
#D652A0
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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