#663CD3#663CD3

#663CD3 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.9% C 0.216 H 288.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#663CD3
RGBrgb(102, 60, 211)
HSLhsl(257, 63%, 53%)
HSVhsv(257, 72%, 83%)
CMYKcmyk(51.7%, 71.6%, 0%, 17.3%)
CIE-LABlab(39.17, 53.77, -71.27)
CIE-LCHlch(39.17, 89.28, 307.04°)
OKLaboklab(49.94% 0.0696 -0.2048)
OKLCHoklch(49.94% 0.216 288.8)
XYZxyz(18.8498, 10.7588, 62.6988)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CD3 #A9D33C
analogous
#3C5DD3 #663CD3 #B23CD3
triadic
#663CD3 #D3663C #3CD366
tetradic
#663CD3 #D33C5D #A9D33C #3CD3B2
square
#663CD3 #D33C5D #A9D33C #3CD3B2
split-complementary
#663CD3 #D3B23C #5DD33C
monochromatic
#351B79 #4B27AB #663CD3 #8D6EDE #B4A0EA

Accessibility & contrast

On white

6.66
#663CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#663CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663CD3
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CD3#FFFFFF#000000##FFFFFF
##663CD31.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD7
Deuteranopia (green-blind)
#0058D0
Tritanopia (blue-blind)
#3D6484
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #663cd3;
/* rgb */ color: rgb(102, 60, 211);
/* oklch */ color: oklch(49.9% 0.216 288.8);
Tailwind
colors: {
  custom: {
    50: '#9c75e2',
    500: '#663cd3',
    950: '#000000',
  },
}
SCSS
$custom: #663cd3;
$custom-light: #9c75e2;
$custom-dark: #000000;
JSON
{
  "hex": "#663cd3",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 211
  },
  "hsl": {
    "h": 256.689,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49938,
    "c": 0.21626,
    "h": 288.8
  },
  "luminance": 0.1076
}

Semantic roles & 50–950 ramp

primary
#663CD3
secondary
#C4D695
accent
#E642B8
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #663CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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