#663EAE#663EAE

#663EAE is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.2% C 0.170 H 295.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#663EAE
RGBrgb(102, 62, 174)
HSLhsl(261, 47%, 46%)
HSVhsv(261, 64%, 68%)
CMYKcmyk(41.4%, 64.4%, 0%, 31.8%)
CIE-LABlab(36.60, 42.50, -53.79)
CIE-LCHlch(36.60, 68.55, 308.31°)
OKLaboklab(47.18% 0.0734 -0.1534)
OKLCHoklch(47.18% 0.17 295.6)
XYZxyz(14.8401, 9.3257, 41.0544)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EAE #86AE3E
analogous
#3E4EAE #663EAE #9E3EAE
triadic
#663EAE #AE663E #3EAE66
tetradic
#663EAE #AE3E4E #86AE3E #3EAE9E
square
#663EAE #AE3E4E #86AE3E #3EAE9E
split-complementary
#663EAE #AE9E3E #4EAE3E
monochromatic
#311E54 #4C2E81 #663EAE #8662C7 #A98FD7

Accessibility & contrast

On white

7.33
#663EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#663EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663EAE
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EAE#FFFFFF#000000##FFFFFF
##663EAE1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#535870
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #663eae;
/* rgb */ color: rgb(102, 62, 174);
/* oklch */ color: oklch(47.2% 0.170 295.6);
Tailwind
colors: {
  custom: {
    50: '#9775c7',
    500: '#663eae',
    950: '#000000',
  },
}
SCSS
$custom: #663eae;
$custom-light: #9775c7;
$custom-dark: #000000;
JSON
{
  "hex": "#663eae",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 261.429,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47182,
    "c": 0.1701,
    "h": 295.6
  },
  "luminance": 0.09326
}

Semantic roles & 50–950 ramp

primary
#663EAE
secondary
#ADC286
accent
#D751A7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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