#663FD5#663FD5

#663FD5 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.5% C 0.215 H 288.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#663FD5
RGBrgb(102, 63, 213)
HSLhsl(256, 64%, 54%)
HSVhsv(256, 70%, 84%)
CMYKcmyk(52.1%, 70.4%, 0%, 16.5%)
CIE-LABlab(39.89, 52.81, -71.25)
CIE-LCHlch(39.89, 88.68, 306.55°)
OKLaboklab(50.5% 0.0667 -0.2047)
OKLCHoklch(50.5% 0.215 288)
XYZxyz(19.2637, 11.1830, 64.0814)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FD5 #AED53F
analogous
#3F63D5 #663FD5 #B13FD5
triadic
#663FD5 #D5663F #3FD566
tetradic
#663FD5 #D53F63 #AED53F #3FD5B1
square
#663FD5 #D53F63 #AED53F #3FD5B1
split-complementary
#663FD5 #D5B13F #63D53F
monochromatic
#351C7E #4A27B0 #663FD5 #8E71E0 #B6A3EB

Accessibility & contrast

On white

6.49
#663FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#663FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FD5
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FD5#FFFFFF#000000##FFFFFF
##663FD51.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D9
Deuteranopia (green-blind)
#005AD2
Tritanopia (blue-blind)
#3B6686
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #663fd5;
/* rgb */ color: rgb(102, 63, 213);
/* oklch */ color: oklch(50.5% 0.215 288.0);
Tailwind
colors: {
  custom: {
    50: '#9c77e3',
    500: '#663fd5',
    950: '#000000',
  },
}
SCSS
$custom: #663fd5;
$custom-light: #9c77e3;
$custom-dark: #000000;
JSON
{
  "hex": "#663fd5",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 255.6,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50499,
    "c": 0.2153,
    "h": 288
  },
  "luminance": 0.11184
}

Semantic roles & 50–950 ramp

primary
#663FD5
secondary
#C7D898
accent
#E741BC
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #663FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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