#663FD8#663FD8

#663FD8 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.219 H 287.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#663FD8
RGBrgb(102, 63, 216)
HSLhsl(255, 66%, 55%)
HSVhsv(255, 71%, 85%)
CMYKcmyk(52.8%, 70.8%, 0%, 15.3%)
CIE-LABlab(40.14, 53.65, -72.56)
CIE-LCHlch(40.14, 90.24, 306.48°)
OKLaboklab(50.76% 0.0661 -0.2085)
OKLCHoklch(50.76% 0.219 287.6)
XYZxyz(19.6480, 11.3367, 66.1053)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FD8 #B1D83F
analogous
#3F65D8 #663FD8 #B33FD8
triadic
#663FD8 #D8663F #3FD866
tetradic
#663FD8 #D83F65 #B1D83F #3FD8B3
square
#663FD8 #D83F65 #B1D83F #3FD8B3
split-complementary
#663FD8 #D8B33F #65D83F
monochromatic
#351A82 #4A25B5 #663FD8 #8F72E2 #B7A5ED

Accessibility & contrast

On white

6.43
#663FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#663FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FD8
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FD8#FFFFFF#000000##FFFFFF
##663FD81.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DD
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#396887
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #663fd8;
/* rgb */ color: rgb(102, 63, 216);
/* oklch */ color: oklch(50.8% 0.219 287.6);
Tailwind
colors: {
  custom: {
    50: '#9c77e5',
    500: '#663fd8',
    950: '#000000',
  },
}
SCSS
$custom: #663fd8;
$custom-light: #9c77e5;
$custom-dark: #000000;
JSON
{
  "hex": "#663fd8",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 216
  },
  "hsl": {
    "h": 255.294,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50758,
    "c": 0.21876,
    "h": 287.6
  },
  "luminance": 0.11338
}

Semantic roles & 50–950 ramp

primary
#663FD8
secondary
#C9DA99
accent
#E93FBE
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #663FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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