#663FD2#663FD2

#663FD2 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.2% C 0.212 H 288.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#663FD2
RGBrgb(102, 63, 210)
HSLhsl(256, 62%, 54%)
HSVhsv(256, 70%, 82%)
CMYKcmyk(51.4%, 70%, 0%, 17.6%)
CIE-LABlab(39.63, 51.97, -69.93)
CIE-LCHlch(39.63, 87.13, 306.62°)
OKLaboklab(50.24% 0.0672 -0.2009)
OKLCHoklch(50.24% 0.212 288.5)
XYZxyz(18.8865, 11.0321, 62.0945)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FD2 #ABD23F
analogous
#3F61D2 #663FD2 #AF3FD2
triadic
#663FD2 #D2663F #3FD266
tetradic
#663FD2 #D23F61 #ABD23F #3FD2AF
square
#663FD2 #D23F61 #ABD23F #3FD2AF
split-complementary
#663FD2 #D2AF3F #61D23F
monochromatic
#351D7A #4B28AC #663FD2 #8E71DE #B5A2E9

Accessibility & contrast

On white

6.55
#663FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#663FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FD2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FD2#FFFFFF#000000##FFFFFF
##663FD21.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #663fd2;
/* rgb */ color: rgb(102, 63, 210);
/* oklch */ color: oklch(50.2% 0.212 288.5);
Tailwind
colors: {
  custom: {
    50: '#9b77e1',
    500: '#663fd2',
    950: '#000000',
  },
}
SCSS
$custom: #663fd2;
$custom-light: #9b77e1;
$custom-dark: #000000;
JSON
{
  "hex": "#663fd2",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 255.918,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50241,
    "c": 0.21181,
    "h": 288.5
  },
  "luminance": 0.11033
}

Semantic roles & 50–950 ramp

primary
#663FD2
secondary
#C5D697
accent
#E543BA
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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