#663ED8#663ED8

#663ED8 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.220 H 287.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#663ED8
RGBrgb(102, 62, 216)
HSLhsl(256, 66%, 55%)
HSVhsv(256, 71%, 85%)
CMYKcmyk(52.8%, 71.3%, 0%, 15.3%)
CIE-LABlab(39.96, 54.16, -72.85)
CIE-LCHlch(39.96, 90.78, 306.63°)
OKLaboklab(50.63% 0.0669 -0.2094)
OKLCHoklch(50.63% 0.22 287.7)
XYZxyz(19.5931, 11.2269, 66.0870)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ED8 #B0D83E
analogous
#3E63D8 #663ED8 #B33ED8
triadic
#663ED8 #D8663E #3ED866
tetradic
#663ED8 #D83E63 #B0D83E #3ED8B3
square
#663ED8 #D83E63 #B0D83E #3ED8B3
split-complementary
#663ED8 #D8B33E #63D83E
monochromatic
#351A81 #4A24B4 #663ED8 #8E71E2 #B7A4ED

Accessibility & contrast

On white

6.47
#663ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#663ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663ED8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ED8#FFFFFF#000000##FFFFFF
##663ED81.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DD
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#396787
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #663ed8;
/* rgb */ color: rgb(102, 62, 216);
/* oklch */ color: oklch(50.6% 0.220 287.7);
Tailwind
colors: {
  custom: {
    50: '#9c77e5',
    500: '#663ed8',
    950: '#000000',
  },
}
SCSS
$custom: #663ed8;
$custom-light: #9c77e5;
$custom-dark: #000000;
JSON
{
  "hex": "#663ed8",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 216
  },
  "hsl": {
    "h": 255.584,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50629,
    "c": 0.21984,
    "h": 287.7
  },
  "luminance": 0.11228
}

Semantic roles & 50–950 ramp

primary
#663ED8
secondary
#C9D998
accent
#E93EBD
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #663ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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