#663FD1#663FD1

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

Color values

HEX#663FD1
RGBrgb(102, 63, 209)
HSLhsl(256, 61%, 53%)
HSVhsv(256, 70%, 82%)
CMYKcmyk(51.2%, 69.9%, 0%, 18%)
CIE-LABlab(39.55, 51.69, -69.49)
CIE-LCHlch(39.55, 86.61, 306.64°)
OKLaboklab(50.16% 0.0674 -0.1996)
OKLCHoklch(50.16% 0.211 288.7)
XYZxyz(18.7623, 10.9824, 61.4404)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FD1 #AAD13F
analogous
#3F61D1 #663FD1 #AF3FD1
triadic
#663FD1 #D1663F #3FD166
tetradic
#663FD1 #D13F61 #AAD13F #3FD1AF
square
#663FD1 #D13F61 #AAD13F #3FD1AF
split-complementary
#663FD1 #D1AF3F #61D13F
monochromatic
#351D79 #4B29AA #663FD1 #8D70DD #B5A2E9

Accessibility & contrast

On white

6.57
#663FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#663FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FD1
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FD1#FFFFFF#000000##FFFFFF
##663FD11.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #663fd1;
/* rgb */ color: rgb(102, 63, 209);
/* oklch */ color: oklch(50.2% 0.211 288.7);
Tailwind
colors: {
  custom: {
    50: '#9b77e0',
    500: '#663fd1',
    950: '#000000',
  },
}
SCSS
$custom: #663fd1;
$custom-light: #9b77e0;
$custom-dark: #000000;
JSON
{
  "hex": "#663fd1",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 209
  },
  "hsl": {
    "h": 256.027,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50156,
    "c": 0.21065,
    "h": 288.7
  },
  "luminance": 0.10983
}

Semantic roles & 50–950 ramp

primary
#663FD1
secondary
#C5D597
accent
#E443B9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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