#663ED2#663ED2

#663ED2 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.1% C 0.213 H 288.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#663ED2
RGBrgb(102, 62, 210)
HSLhsl(256, 62%, 53%)
HSVhsv(256, 70%, 82%)
CMYKcmyk(51.4%, 70.5%, 0%, 17.6%)
CIE-LABlab(39.45, 52.48, -70.24)
CIE-LCHlch(39.45, 87.68, 306.77°)
OKLaboklab(50.11% 0.0681 -0.2017)
OKLCHoklch(50.11% 0.213 288.7)
XYZxyz(18.8316, 10.9223, 62.0762)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ED2 #AAD23E
analogous
#3E60D2 #663ED2 #B03ED2
triadic
#663ED2 #D2663E #3ED266
tetradic
#663ED2 #D23E60 #AAD23E #3ED2B0
square
#663ED2 #D23E60 #AAD23E #3ED2B0
split-complementary
#663ED2 #D2B03E #60D23E
monochromatic
#351C79 #4B28AB #663ED2 #8D70DE #B5A1E9

Accessibility & contrast

On white

6.59
#663ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#663ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663ED2
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ED2#FFFFFF#000000##FFFFFF
##663ED21.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#3E6584
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #663ed2;
/* rgb */ color: rgb(102, 62, 210);
/* oklch */ color: oklch(50.1% 0.213 288.7);
Tailwind
colors: {
  custom: {
    50: '#9c77e1',
    500: '#663ed2',
    950: '#000000',
  },
}
SCSS
$custom: #663ed2;
$custom-light: #9c77e1;
$custom-dark: #000000;
JSON
{
  "hex": "#663ed2",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 256.216,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50109,
    "c": 0.21292,
    "h": 288.7
  },
  "luminance": 0.10923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #663ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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