#663FD9#663FD9

#663FD9 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.8% C 0.220 H 287.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#663FD9
RGBrgb(102, 63, 217)
HSLhsl(255, 67%, 55%)
HSVhsv(255, 71%, 85%)
CMYKcmyk(53%, 71%, 0%, 14.9%)
CIE-LABlab(40.23, 53.93, -72.99)
CIE-LCHlch(40.23, 90.75, 306.46°)
OKLaboklab(50.85% 0.0659 -0.2098)
OKLCHoklch(50.85% 0.22 287.4)
XYZxyz(19.7777, 11.3885, 66.7883)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FD9 #B2D93F
analogous
#3F65D9 #663FD9 #B33FD9
triadic
#663FD9 #D9663F #3FD966
tetradic
#663FD9 #D93F65 #B2D93F #3FD9B3
square
#663FD9 #D93F65 #B2D93F #3FD9B3
split-complementary
#663FD9 #D9B33F #65D93F
monochromatic
#351A84 #4924B7 #663FD9 #8F72E3 #B7A5ED

Accessibility & contrast

On white

6.41
#663FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#663FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FD9
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FD9#FFFFFF#000000##FFFFFF
##663FD91.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DE
Deuteranopia (green-blind)
#005BD6
Tritanopia (blue-blind)
#386888
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #663fd9;
/* rgb */ color: rgb(102, 63, 217);
/* oklch */ color: oklch(50.8% 0.220 287.4);
Tailwind
colors: {
  custom: {
    50: '#9c77e6',
    500: '#663fd9',
    950: '#000000',
  },
}
SCSS
$custom: #663fd9;
$custom-light: #9c77e6;
$custom-dark: #000000;
JSON
{
  "hex": "#663fd9",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 255.195,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50845,
    "c": 0.21991,
    "h": 287.4
  },
  "luminance": 0.1139
}

Semantic roles & 50–950 ramp

primary
#663FD9
secondary
#CADA9A
accent
#EA3EBE
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #663FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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