#663CA1#663CA1

#663CA1 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.9% C 0.157 H 299.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#663CA1
RGBrgb(102, 60, 161)
HSLhsl(265, 46%, 43%)
HSVhsv(265, 63%, 63%)
CMYKcmyk(36.6%, 62.7%, 0%, 36.9%)
CIE-LABlab(35.26, 40.10, -48.18)
CIE-LCHlch(35.26, 62.68, 309.77°)
OKLaboklab(45.91% 0.0768 -0.1369)
OKLCHoklch(45.91% 0.157 299.3)
XYZxyz(13.5268, 8.6296, 34.6643)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CA1 #77A13C
analogous
#3C45A1 #663CA1 #983CA1
triadic
#663CA1 #A1663C #3CA166
tetradic
#663CA1 #A13C45 #77A13C #3CA198
square
#663CA1 #A13C45 #77A13C #3CA198
split-complementary
#663CA1 #A1983C #45A13C
monochromatic
#2E1B48 #4A2B74 #663CA1 #8459C1 #A586D2

Accessibility & contrast

On white

7.70
#663CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#663CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CA1
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CA1#FFFFFF#000000##FFFFFF
##663CA11.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#13529F
Tritanopia (blue-blind)
#595269
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #663ca1;
/* rgb */ color: rgb(102, 60, 161);
/* oklch */ color: oklch(45.9% 0.157 299.3);
Tailwind
colors: {
  custom: {
    50: '#9674bd',
    500: '#663ca1',
    950: '#000000',
  },
}
SCSS
$custom: #663ca1;
$custom-light: #9674bd;
$custom-dark: #000000;
JSON
{
  "hex": "#663ca1",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 264.95,
    "s": 45.701,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45913,
    "c": 0.15699,
    "h": 299.3
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

primary
#663CA1
secondary
#A2BC7D
accent
#D5529F
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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