#663ED1#663ED1

#663ED1 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.0% C 0.212 H 288.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#663ED1
RGBrgb(102, 62, 209)
HSLhsl(256, 62%, 53%)
HSVhsv(256, 70%, 82%)
CMYKcmyk(51.2%, 70.3%, 0%, 18%)
CIE-LABlab(39.37, 52.20, -69.80)
CIE-LCHlch(39.37, 87.16, 306.79°)
OKLaboklab(50.02% 0.0683 -0.2005)
OKLCHoklch(50.02% 0.212 288.8)
XYZxyz(18.7074, 10.8726, 61.4221)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ED1 #A9D13E
analogous
#3E5FD1 #663ED1 #B03ED1
triadic
#663ED1 #D1663E #3ED166
tetradic
#663ED1 #D13E5F #A9D13E #3ED1B0
square
#663ED1 #D13E5F #A9D13E #3ED1B0
split-complementary
#663ED1 #D1B03E #5FD13E
monochromatic
#351D78 #4B28A9 #663ED1 #8D6FDD #B4A1E9

Accessibility & contrast

On white

6.62
#663ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#663ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663ED1
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ED1#FFFFFF#000000##FFFFFF
##663ED11.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D5
Deuteranopia (green-blind)
#0059CE
Tritanopia (blue-blind)
#3F6483
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #663ed1;
/* rgb */ color: rgb(102, 62, 209);
/* oklch */ color: oklch(50.0% 0.212 288.8);
Tailwind
colors: {
  custom: {
    50: '#9b77e0',
    500: '#663ed1',
    950: '#000000',
  },
}
SCSS
$custom: #663ed1;
$custom-light: #9b77e0;
$custom-dark: #000000;
JSON
{
  "hex": "#663ed1",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 209
  },
  "hsl": {
    "h": 256.327,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50024,
    "c": 0.21177,
    "h": 288.8
  },
  "luminance": 0.10873
}

Semantic roles & 50–950 ramp

primary
#663ED1
secondary
#C4D596
accent
#E543B9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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