#663FD6#663FD6

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

Color values

HEX#663FD6
RGBrgb(102, 63, 214)
HSLhsl(255, 65%, 54%)
HSVhsv(255, 71%, 84%)
CMYKcmyk(52.3%, 70.6%, 0%, 16.1%)
CIE-LABlab(39.97, 53.09, -71.68)
CIE-LCHlch(39.97, 89.20, 306.52°)
OKLaboklab(50.59% 0.0665 -0.206)
OKLCHoklch(50.59% 0.216 287.9)
XYZxyz(19.3910, 11.2339, 64.7519)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FD6 #AFD63F
analogous
#3F64D6 #663FD6 #B23FD6
triadic
#663FD6 #D6663F #3FD666
tetradic
#663FD6 #D63F64 #AFD63F #3FD6B2
square
#663FD6 #D63F64 #AFD63F #3FD6B2
split-complementary
#663FD6 #D6B23F #64D63F
monochromatic
#351B7F #4A26B2 #663FD6 #8E71E1 #B6A4EC

Accessibility & contrast

On white

6.47
#663FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#663FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FD6
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FD6#FFFFFF#000000##FFFFFF
##663FD61.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DA
Deuteranopia (green-blind)
#005AD3
Tritanopia (blue-blind)
#3A6786
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #663fd6;
/* rgb */ color: rgb(102, 63, 214);
/* oklch */ color: oklch(50.6% 0.216 287.9);
Tailwind
colors: {
  custom: {
    50: '#9c77e4',
    500: '#663fd6',
    950: '#000000',
  },
}
SCSS
$custom: #663fd6;
$custom-light: #9c77e4;
$custom-dark: #000000;
JSON
{
  "hex": "#663fd6",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 214
  },
  "hsl": {
    "h": 255.497,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50585,
    "c": 0.21646,
    "h": 287.9
  },
  "luminance": 0.11235
}

Semantic roles & 50–950 ramp

primary
#663FD6
secondary
#C8D898
accent
#E840BC
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #663FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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