#663FAE#663FAE

#663FAE is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.3% C 0.169 H 295.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#663FAE
RGBrgb(102, 63, 174)
HSLhsl(261, 47%, 46%)
HSVhsv(261, 64%, 68%)
CMYKcmyk(41.4%, 63.8%, 0%, 31.8%)
CIE-LABlab(36.81, 41.94, -53.46)
CIE-LCHlch(36.81, 67.95, 308.12°)
OKLaboklab(47.33% 0.0723 -0.1524)
OKLCHoklch(47.33% 0.169 295.4)
XYZxyz(14.8950, 9.4355, 41.0726)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FAE #87AE3F
analogous
#3F50AE #663FAE #9E3FAE
triadic
#663FAE #AE663F #3FAE66
tetradic
#663FAE #AE3F50 #87AE3F #3FAE9E
square
#663FAE #AE3F50 #87AE3F #3FAE9E
split-complementary
#663FAE #AE9E3F #50AE3F
monochromatic
#311E54 #4C2F81 #663FAE #8664C7 #A990D7

Accessibility & contrast

On white

7.27
#663FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#663FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663FAE
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FAE#FFFFFF#000000##FFFFFF
##663FAE1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#535871
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663fae;
/* rgb */ color: rgb(102, 63, 174);
/* oklch */ color: oklch(47.3% 0.169 295.4);
Tailwind
colors: {
  custom: {
    50: '#9776c7',
    500: '#663fae',
    950: '#000000',
  },
}
SCSS
$custom: #663fae;
$custom-light: #9776c7;
$custom-dark: #000000;
JSON
{
  "hex": "#663fae",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 174
  },
  "hsl": {
    "h": 261.081,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47331,
    "c": 0.16873,
    "h": 295.4
  },
  "luminance": 0.09436
}

Semantic roles & 50–950 ramp

primary
#663FAE
secondary
#ADC287
accent
#D651A8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #663FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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