#663CA8#663CA8

#663CA8 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.4% C 0.166 H 297.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#663CA8
RGBrgb(102, 60, 168)
HSLhsl(263, 47%, 45%)
HSVhsv(263, 64%, 66%)
CMYKcmyk(39.3%, 64.3%, 0%, 34.1%)
CIE-LABlab(35.76, 41.97, -51.58)
CIE-LCHlch(35.76, 66.50, 309.14°)
OKLaboklab(46.43% 0.0763 -0.1469)
OKLCHoklch(46.43% 0.166 297.4)
XYZxyz(14.1614, 8.8834, 38.0068)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CA8 #7EA83C
analogous
#3C48A8 #663CA8 #9C3CA8
triadic
#663CA8 #A8663C #3CA866
tetradic
#663CA8 #A83C48 #7EA83C #3CA89C
square
#663CA8 #A83C48 #7EA83C #3CA89C
split-complementary
#663CA8 #A89C3C #48A83C
monochromatic
#2F1C4E #4B2C7B #663CA8 #855CC5 #A789D5

Accessibility & contrast

On white

7.56
#663CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#663CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CA8
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CA8#FFFFFF#000000##FFFFFF
##663CA81.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#56546C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #663ca8;
/* rgb */ color: rgb(102, 60, 168);
/* oklch */ color: oklch(46.4% 0.166 297.4);
Tailwind
colors: {
  custom: {
    50: '#9774c3',
    500: '#663ca8',
    950: '#000000',
  },
}
SCSS
$custom: #663ca8;
$custom-light: #9774c3;
$custom-dark: #000000;
JSON
{
  "hex": "#663ca8",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 263.333,
    "s": 47.368,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46432,
    "c": 0.16554,
    "h": 297.4
  },
  "luminance": 0.08884
}

Semantic roles & 50–950 ramp

primary
#663CA8
secondary
#A7BF80
accent
#D751A3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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