#663ED9#663ED9

#663ED9 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.221 H 287.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#663ED9
RGBrgb(102, 62, 217)
HSLhsl(255, 67%, 55%)
HSVhsv(255, 71%, 85%)
CMYKcmyk(53%, 71.4%, 0%, 14.9%)
CIE-LABlab(40.05, 54.44, -73.29)
CIE-LCHlch(40.05, 91.29, 306.60°)
OKLaboklab(50.72% 0.0667 -0.2107)
OKLCHoklch(50.72% 0.221 287.6)
XYZxyz(19.7228, 11.2788, 66.7700)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ED9 #B1D93E
analogous
#3E63D9 #663ED9 #B43ED9
triadic
#663ED9 #D9663E #3ED966
tetradic
#663ED9 #D93E63 #B1D93E #3ED9B4
square
#663ED9 #D93E63 #B1D93E #3ED9B4
split-complementary
#663ED9 #D9B43E #63D93E
monochromatic
#351A83 #4A24B6 #663ED9 #8F71E3 #B7A4ED

Accessibility & contrast

On white

6.45
#663ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#663ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663ED9
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ED9#FFFFFF#000000##FFFFFF
##663ED91.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DE
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#386788
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #663ed9;
/* rgb */ color: rgb(102, 62, 217);
/* oklch */ color: oklch(50.7% 0.221 287.6);
Tailwind
colors: {
  custom: {
    50: '#9c77e6',
    500: '#663ed9',
    950: '#000000',
  },
}
SCSS
$custom: #663ed9;
$custom-light: #9c77e6;
$custom-dark: #000000;
JSON
{
  "hex": "#663ed9",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 217
  },
  "hsl": {
    "h": 255.484,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50717,
    "c": 0.22099,
    "h": 287.6
  },
  "luminance": 0.1128
}

Semantic roles & 50–950 ramp

primary
#663ED9
secondary
#C9DA99
accent
#EA3EBE
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #663ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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