#663BD9#663BD9

#663BD9 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.3% C 0.224 H 287.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#663BD9
RGBrgb(102, 59, 217)
HSLhsl(256, 68%, 54%)
HSVhsv(256, 73%, 85%)
CMYKcmyk(53%, 72.8%, 0%, 14.9%)
CIE-LABlab(39.52, 55.93, -74.16)
CIE-LCHlch(39.52, 92.88, 307.02°)
OKLaboklab(50.34% 0.0691 -0.2132)
OKLCHoklch(50.34% 0.224 287.9)
XYZxyz(19.5641, 10.9615, 66.7171)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BD9 #AED93B
analogous
#3B5FD9 #663BD9 #B53BD9
triadic
#663BD9 #D9663B #3BD966
tetradic
#663BD9 #D93B5F #AED93B #3BD9B5
square
#663BD9 #D93B5F #AED93B #3BD9B5
split-complementary
#663BD9 #D9B53B #5FD93B
monochromatic
#351981 #4A23B4 #663BD9 #8E6EE3 #B6A2ED

Accessibility & contrast

On white

6.58
#663BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#663BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663BD9
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BD9#FFFFFF#000000##FFFFFF
##663BD91.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DE
Deuteranopia (green-blind)
#0059D6
Tritanopia (blue-blind)
#386687
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #663bd9;
/* rgb */ color: rgb(102, 59, 217);
/* oklch */ color: oklch(50.3% 0.224 287.9);
Tailwind
colors: {
  custom: {
    50: '#9d75e6',
    500: '#663bd9',
    950: '#000000',
  },
}
SCSS
$custom: #663bd9;
$custom-light: #9d75e6;
$custom-dark: #000000;
JSON
{
  "hex": "#663bd9",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 217
  },
  "hsl": {
    "h": 256.329,
    "s": 67.521,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50341,
    "c": 0.22413,
    "h": 287.9
  },
  "luminance": 0.10962
}

Semantic roles & 50–950 ramp

primary
#663BD9
secondary
#C7DA96
accent
#EA3DBB
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #663BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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