#663CD1#663CD1

#663CD1 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.8% C 0.214 H 289.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#663CD1
RGBrgb(102, 60, 209)
HSLhsl(257, 62%, 53%)
HSVhsv(257, 71%, 82%)
CMYKcmyk(51.2%, 71.3%, 0%, 18%)
CIE-LABlab(39.00, 53.22, -70.39)
CIE-LCHlch(39.00, 88.25, 307.09°)
OKLaboklab(49.76% 0.07 -0.2022)
OKLCHoklch(49.76% 0.214 289.1)
XYZxyz(18.6006, 10.6591, 61.3866)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CD1 #A7D13C
analogous
#3C5CD1 #663CD1 #B13CD1
triadic
#663CD1 #D1663C #3CD166
tetradic
#663CD1 #D13C5C #A7D13C #3CD1B1
square
#663CD1 #D13C5C #A7D13C #3CD1B1
split-complementary
#663CD1 #D1B13C #5CD13C
monochromatic
#361C77 #4C28A8 #663CD1 #8D6EDD #B49FE8

Accessibility & contrast

On white

6.70
#663CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#663CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663CD1
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CD1#FFFFFF#000000##FFFFFF
##663CD11.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD5
Deuteranopia (green-blind)
#0058CE
Tritanopia (blue-blind)
#3F6383
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #663cd1;
/* rgb */ color: rgb(102, 60, 209);
/* oklch */ color: oklch(49.8% 0.214 289.1);
Tailwind
colors: {
  custom: {
    50: '#9c75e0',
    500: '#663cd1',
    950: '#000000',
  },
}
SCSS
$custom: #663cd1;
$custom-light: #9c75e0;
$custom-dark: #000000;
JSON
{
  "hex": "#663cd1",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 209
  },
  "hsl": {
    "h": 256.913,
    "s": 61.826,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49764,
    "c": 0.21397,
    "h": 289.1
  },
  "luminance": 0.1066
}

Semantic roles & 50–950 ramp

primary
#663CD1
secondary
#C2D594
accent
#E543B7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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