#663CAA#663CAA

#663CAA is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.6% C 0.168 H 296.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#663CAA
RGBrgb(102, 60, 170)
HSLhsl(263, 48%, 45%)
HSVhsv(263, 65%, 67%)
CMYKcmyk(40%, 64.7%, 0%, 33.3%)
CIE-LABlab(35.90, 42.51, -52.54)
CIE-LCHlch(35.90, 67.58, 308.98°)
OKLaboklab(46.58% 0.0761 -0.1497)
OKLCHoklch(46.58% 0.168 296.9)
XYZxyz(14.3492, 8.9585, 38.9956)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CAA #80AA3C
analogous
#3C49AA #663CAA #9D3CAA
triadic
#663CAA #AA663C #3CAA66
tetradic
#663CAA #AA3C49 #80AA3C #3CAA9D
square
#663CAA #AA3C49 #80AA3C #3CAA9D
split-complementary
#663CAA #AA9D3C #49AA3C
monochromatic
#301C50 #4B2C7D #663CAA #855DC6 #A78BD6

Accessibility & contrast

On white

7.52
#663CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#663CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CAA
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CAA#FFFFFF#000000##FFFFFF
##663CAA1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#55556D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #663caa;
/* rgb */ color: rgb(102, 60, 170);
/* oklch */ color: oklch(46.6% 0.168 296.9);
Tailwind
colors: {
  custom: {
    50: '#9774c4',
    500: '#663caa',
    950: '#000000',
  },
}
SCSS
$custom: #663caa;
$custom-light: #9774c4;
$custom-dark: #000000;
JSON
{
  "hex": "#663caa",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 262.909,
    "s": 47.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46583,
    "c": 0.16796,
    "h": 296.9
  },
  "luminance": 0.08959
}

Semantic roles & 50–950 ramp

primary
#663CAA
secondary
#A8C081
accent
#D750A4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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