#663ED7#663ED7

#663ED7 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.5% C 0.219 H 287.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#663ED7
RGBrgb(102, 62, 215)
HSLhsl(256, 66%, 54%)
HSVhsv(256, 71%, 84%)
CMYKcmyk(52.6%, 71.2%, 0%, 15.7%)
CIE-LABlab(39.87, 53.88, -72.42)
CIE-LCHlch(39.87, 90.26, 306.65°)
OKLaboklab(50.54% 0.0671 -0.2081)
OKLCHoklch(50.54% 0.219 287.9)
XYZxyz(19.4642, 11.1754, 65.4083)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ED7 #AFD73E
analogous
#3E63D7 #663ED7 #B23ED7
triadic
#663ED7 #D7663E #3ED766
tetradic
#663ED7 #D73E63 #AFD73E #3ED7B2
square
#663ED7 #D73E63 #AFD73E #3ED7B2
split-complementary
#663ED7 #D7B23E #63D73E
monochromatic
#351B80 #4A25B3 #663ED7 #8E71E2 #B6A3EC

Accessibility & contrast

On white

6.49
#663ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#663ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663ED7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ED7#FFFFFF#000000##FFFFFF
##663ED71.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DC
Deuteranopia (green-blind)
#005AD4
Tritanopia (blue-blind)
#3A6787
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #663ed7;
/* rgb */ color: rgb(102, 62, 215);
/* oklch */ color: oklch(50.5% 0.219 287.9);
Tailwind
colors: {
  custom: {
    50: '#9c77e4',
    500: '#663ed7',
    950: '#000000',
  },
}
SCSS
$custom: #663ed7;
$custom-light: #9c77e4;
$custom-dark: #000000;
JSON
{
  "hex": "#663ed7",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 215
  },
  "hsl": {
    "h": 255.686,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50542,
    "c": 0.21869,
    "h": 287.9
  },
  "luminance": 0.11176
}

Semantic roles & 50–950 ramp

primary
#663ED7
secondary
#C8D998
accent
#E93FBC
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #663ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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