#663CAE#663CAE

#663CAE is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.9% C 0.173 H 296.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#663CAE
RGBrgb(102, 60, 174)
HSLhsl(262, 49%, 46%)
HSVhsv(262, 66%, 68%)
CMYKcmyk(41.4%, 65.5%, 0%, 31.8%)
CIE-LABlab(36.20, 43.59, -54.45)
CIE-LCHlch(36.20, 69.75, 308.68°)
OKLaboklab(46.89% 0.0757 -0.1553)
OKLCHoklch(46.89% 0.173 296)
XYZxyz(14.7333, 9.1122, 41.0188)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CAE #84AE3C
analogous
#3C4BAE #663CAE #9F3CAE
triadic
#663CAE #AE663C #3CAE66
tetradic
#663CAE #AE3C4B #84AE3C #3CAE9F
square
#663CAE #AE3C4B #84AE3C #3CAE9F
split-complementary
#663CAE #AE9F3C #4BAE3C
monochromatic
#311D53 #4B2C80 #663CAE #865FC8 #A88DD8

Accessibility & contrast

On white

7.44
#663CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#663CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CAE
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CAE#FFFFFF#000000##FFFFFF
##663CAE1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#545670
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #663cae;
/* rgb */ color: rgb(102, 60, 174);
/* oklch */ color: oklch(46.9% 0.173 296.0);
Tailwind
colors: {
  custom: {
    50: '#9774c7',
    500: '#663cae',
    950: '#000000',
  },
}
SCSS
$custom: #663cae;
$custom-light: #9774c7;
$custom-dark: #000000;
JSON
{
  "hex": "#663cae",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 262.105,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46889,
    "c": 0.1728,
    "h": 296
  },
  "luminance": 0.09112
}

Semantic roles & 50–950 ramp

primary
#663CAE
secondary
#ABC283
accent
#D850A6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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