#663DC2#663DC2

#663DC2 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.6% C 0.195 H 291.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#663DC2
RGBrgb(102, 61, 194)
HSLhsl(258, 52%, 50%)
HSVhsv(258, 69%, 76%)
CMYKcmyk(47.4%, 68.6%, 0%, 23.9%)
CIE-LABlab(37.94, 48.55, -63.40)
CIE-LCHlch(37.94, 79.86, 307.44°)
OKLaboklab(48.63% 0.0719 -0.1817)
OKLCHoklch(48.63% 0.195 291.6)
XYZxyz(16.8831, 10.0567, 52.0801)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DC2 #99C23D
analogous
#3D57C2 #663DC2 #A83DC2
triadic
#663DC2 #C2663D #3DC266
tetradic
#663DC2 #C23D57 #99C23D #3DC2A8
square
#663DC2 #C23D57 #99C23D #3DC2A8
split-complementary
#663DC2 #C2A83D #57C23D
monochromatic
#352065 #4E2E93 #663DC2 #8B6CD1 #AF9ADF

Accessibility & contrast

On white

6.97
#663DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#663DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663DC2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DC2#FFFFFF#000000##FFFFFF
##663DC21.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#495E7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #663dc2;
/* rgb */ color: rgb(102, 61, 194);
/* oklch */ color: oklch(48.6% 0.195 291.6);
Tailwind
colors: {
  custom: {
    50: '#9975d5',
    500: '#663dc2',
    950: '#000000',
  },
}
SCSS
$custom: #663dc2;
$custom-light: #9975d5;
$custom-dark: #000000;
JSON
{
  "hex": "#663dc2",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 258.496,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.48628,
    "c": 0.19539,
    "h": 291.6
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

primary
#663DC2
secondary
#B9CB90
accent
#DC4CAF
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #663DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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