#663DC6#663DC6

#663DC6 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.0% C 0.200 H 290.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#663DC6
RGBrgb(102, 61, 198)
HSLhsl(258, 55%, 51%)
HSVhsv(258, 69%, 78%)
CMYKcmyk(48.5%, 69.2%, 0%, 22.4%)
CIE-LABlab(38.27, 49.66, -65.21)
CIE-LCHlch(38.27, 81.97, 307.29°)
OKLaboklab(48.96% 0.0712 -0.187)
OKLCHoklch(48.96% 0.2 290.8)
XYZxyz(17.3384, 10.2388, 54.4779)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DC6 #9DC63D
analogous
#3D58C6 #663DC6 #AA3DC6
triadic
#663DC6 #C6663D #3DC666
tetradic
#663DC6 #C63D58 #9DC63D #3DC6AA
square
#663DC6 #C63D58 #9DC63D #3DC6AA
split-complementary
#663DC6 #C6AA3D #58C63D
monochromatic
#351F6A #4D2D99 #663DC6 #8B6CD4 #B19CE2

Accessibility & contrast

On white

6.89
#663DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#663DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663DC6
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DC6#FFFFFF#000000##FFFFFF
##663DC61.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#0057C3
Tritanopia (blue-blind)
#47607D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663dc6;
/* rgb */ color: rgb(102, 61, 198);
/* oklch */ color: oklch(49.0% 0.200 290.8);
Tailwind
colors: {
  custom: {
    50: '#9a76d8',
    500: '#663dc6',
    950: '#000000',
  },
}
SCSS
$custom: #663dc6;
$custom-light: #9a76d8;
$custom-dark: #000000;
JSON
{
  "hex": "#663dc6",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 257.956,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4896,
    "c": 0.20009,
    "h": 290.8
  },
  "luminance": 0.10239
}

Semantic roles & 50–950 ramp

primary
#663DC6
secondary
#BCCE91
accent
#DE4AB2
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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