#663CA6#663CA6

#663CA6 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.3% C 0.163 H 297.9°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#663CA6
RGBrgb(102, 60, 166)
HSLhsl(264, 47%, 44%)
HSVhsv(264, 64%, 65%)
CMYKcmyk(38.6%, 63.9%, 0%, 34.9%)
CIE-LABlab(35.61, 41.43, -50.62)
CIE-LCHlch(35.61, 65.41, 309.30°)
OKLaboklab(46.28% 0.0764 -0.1441)
OKLCHoklch(46.28% 0.163 297.9)
XYZxyz(13.9765, 8.8095, 37.0330)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CA6 #7CA63C
analogous
#3C47A6 #663CA6 #9B3CA6
triadic
#663CA6 #A6663C #3CA666
tetradic
#663CA6 #A63C47 #7CA63C #3CA69B
square
#663CA6 #A63C47 #7CA63C #3CA69B
split-complementary
#663CA6 #A69B3C #47A63C
monochromatic
#2F1C4C #4A2C79 #663CA6 #855BC4 #A688D4

Accessibility & contrast

On white

7.60
#663CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#663CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CA6
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CA6#FFFFFF#000000##FFFFFF
##663CA61.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#0353A4
Tritanopia (blue-blind)
#57546B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #663ca6;
/* rgb */ color: rgb(102, 60, 166);
/* oklch */ color: oklch(46.3% 0.163 297.9);
Tailwind
colors: {
  custom: {
    50: '#9674c1',
    500: '#663ca6',
    950: '#000000',
  },
}
SCSS
$custom: #663ca6;
$custom-light: #9674c1;
$custom-dark: #000000;
JSON
{
  "hex": "#663ca6",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 263.774,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46282,
    "c": 0.16311,
    "h": 297.9
  },
  "luminance": 0.0881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #663CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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