#663DC1#663DC1

#663DC1 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.5% C 0.194 H 291.8°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#663DC1
RGBrgb(102, 61, 193)
HSLhsl(259, 52%, 50%)
HSVhsv(259, 68%, 76%)
CMYKcmyk(47.2%, 68.4%, 0%, 24.3%)
CIE-LABlab(37.86, 48.27, -62.95)
CIE-LCHlch(37.86, 79.33, 307.48°)
OKLaboklab(48.55% 0.0721 -0.1803)
OKLCHoklch(48.55% 0.194 291.8)
XYZxyz(16.7712, 10.0119, 51.4906)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DC1 #98C13D
analogous
#3D56C1 #663DC1 #A83DC1
triadic
#663DC1 #C1663D #3DC166
tetradic
#663DC1 #C13D56 #98C13D #3DC1A8
square
#663DC1 #C13D56 #98C13D #3DC1A8
split-complementary
#663DC1 #C1A83D #56C13D
monochromatic
#352064 #4D2E92 #663DC1 #8A6BD0 #AF99DF

Accessibility & contrast

On white

6.99
#663DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#663DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663DC1
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DC1#FFFFFF#000000##FFFFFF
##663DC11.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#4A5E7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #663dc1;
/* rgb */ color: rgb(102, 61, 193);
/* oklch */ color: oklch(48.5% 0.194 291.8);
Tailwind
colors: {
  custom: {
    50: '#9975d5',
    500: '#663dc1',
    950: '#000000',
  },
}
SCSS
$custom: #663dc1;
$custom-light: #9975d5;
$custom-dark: #000000;
JSON
{
  "hex": "#663dc1",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 193
  },
  "hsl": {
    "h": 258.636,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48546,
    "c": 0.19421,
    "h": 291.8
  },
  "luminance": 0.10013
}

Semantic roles & 50–950 ramp

primary
#663DC1
secondary
#B8CB8F
accent
#DB4CAF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #663DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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